Re: Retrieving granular scores back from Lucene/SOLR

2012-12-25 Thread Vishwas Goel
I thought the reason explain was expensive was because of the string concats. I actually do not want to store this in strings - i just want the data without the string concats. I have so far not looked at IndexSearcher - will do. Other thought i had was to encode 1 such score in the final score(fl

Re: Retrieving granular scores back from Lucene/SOLR

2012-12-25 Thread Jack Krupansky
The Explanation tree returned by IndexSearcher#explain is as good as you are going to get, but is rather expensive. You are asking for a lot, so you should be prepared to pay for it. See: http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/IndexSearcher.html#explain(org.apache.luc

Re: TokenStream: How to get token text?

2012-12-25 Thread dokondr
Hi Steve, Thanks for you help (just found your e-mail in list archive), your solution works! Below is complete working example... However, before finding your answer, I hacked a straw-man solution, which is bad way to solve the problem: // Hack out token - bad way! String tmp = ts.

Re: TokenStream: How to get token text?

2012-12-25 Thread Steve Rowe
Hi Dima, Did you see my response to your earlier email? I think it's what you're looking for: http://markmail.org/message/jdcjxauj4odyuv7e Steve On Dec 25, 2012, at 1:17 PM, dokondr wrote: > Hello, > Please, help. I am lost in TokenStream / Token / Analyzer API. > I am trying to figure out

TokenStream: How to get token text?

2012-12-25 Thread dokondr
Hello, Please, help. I am lost in TokenStream / Token / Analyzer API. I am trying to figure out how to get _token_itself_ or token text while looking at "Invoking the Analyzer" example (see example below and also at: http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/analysis/package-summar

[ANNOUNCE] Apache Lucene 3.6.2 released

2012-12-25 Thread Robert Muir
25 December 2012, Apache Luceneā„¢ 3.6.2 available The Lucene PMC and Santa Claus are pleased to announce the release of Apache Lucene 3.6.2. Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java. It is a technology suitable for nearly any applicatio