See CollocationFinder here: http://issues.apache.org/jira/browse/LUCENE-474
- Original Message
From: Fabrice EstiƩvenart <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Friday, 19 October, 2007 2:01:11 PM
Subject: Get the preceding and following terms
Hello,
I'
Have a look at the SpanQuery and it's derivitives. I have some
examples in my ApacheCon Europe talk http://cnlp.org/presentations/
slides/AdvancedLuceneEU.pdf
You will most likely have to do some post processing. Using Term
Vectors and the new TermVectorMapper may help facilitate this.
C
Hello,
I'm trying to create a suggestion tool based on Lucene. From a term in
the index, i'd like to know the terms that often precede and follow this
term in the indexed documents (NOT according to the alphabetical order).
I know that Lucene stores the term positions but I don't know how to