Goofing off with my index, I ran across this example
http://www.lucidimagination.com/blog/2009/05/26/accessing-words-around-a-positional-match-in-lucene/
for
using span queries to see what else is around a word that hits. Noticeably,
there's a nice getSpans(IndexReader) method that just takes in th
That solved it, thanks!
On Tue, Jan 24, 2012 at 5:04 PM, Michael McCandless <
luc...@mikemccandless.com> wrote:
> Have a look at lucene/MIGRATE.txt? It [tries to] describe this
> change... and if something is missing please report back!
>
> Mike McCandless
>
> http://blog.mikemccandless.com
>
>
Have a look at lucene/MIGRATE.txt? It [tries to] describe this
change... and if something is missing please report back!
Mike McCandless
http://blog.mikemccandless.com
On Tue, Jan 24, 2012 at 4:10 PM, Stephen Howe wrote:
> Hi all,
>
> Looking at some older Lucene examples, I noticed for older
Hi all,
Looking at some older Lucene examples, I noticed for older versions of
lucene that IndexReader came with a handy terms() method that would return
a listing of all the terms in the index and let you get at the term
frequency. In Lucene 4.0, I noticed this method vanished from IndexReader.
I
Hi
how can we assign custom score for each token/word.
For Ex
I have document
1pqrst uvwx abcd
2abcd pqrst uvwx
3pqrst uvwx lmn
4pqrst uvwx lmn abcd
5pqrst abcd uvwx lmn
*Now i m searching data ---> abcd pqrst*
So it should give more weightage score to 2nd docu
Hi
how can we assign custom score for each token/word.
For Ex
I have document
1pqrst uvwx abcd
2abcd pqrst uvwx
3pqrst uvwx lmn
4pqrst uvwx lmn abcd
5pqrst abcd uvwx lmn
*Now i m searching data ---> abcd pqrst*
So it should give more weightage score to 2nd docu