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
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
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.
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
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
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