>>> Ideally I'd like to take any ANDed clauses and require them to occur>
>>> withing $SPAN of the other ANDs.
See ComplexPhraseQueryParser?
Like the standard QueryParser it uses quotes to define a phrase but also
interprets any special characters between the quotes e.g. ( ) * ~
The syntax and
Hello,
I have a program which regularly creates a MemoryIndex to be searched
against a list of queries.
In order to transform the queries that I'm being sent I need to be able to
call MultiTermQuery.Rewrite(IndexReader)
So how do I use MultiTermQuery.Rewrite when working with a MemoryIndex?
I'v
Hi to all,
I found the problem and the solution. In PruningReader
super.getSequentialSubReaders(); is used. After 28118 super.next() is false
because it is a subreader for a segment and indexreader.maxDoc() is equal to
28118 for that segment. In pruneAllPositions, instead of comparing
termpostion
You can use MemoryIndex.createSearcher() to get IndexSearcher. This one has
getIndexReader().
-
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: u...@thetaphi.de
> -Original Message-
> From: Dave Seltzer [mailto:dselt...@tveyes.com]
> Sent: Wednesday, A
Perfect!
Thanks so much!
On Wed, Aug 22, 2012 at 10:36 AM, Uwe Schindler wrote:
> You can use MemoryIndex.createSearcher() to get IndexSearcher. This one has
> getIndexReader().
>
> -
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: u...@thetaphi.de
>
Dear all,
I am currently trying to implement a personalized ranking with Lucene 3.6
for the search in a (non-commercial) social bookmarking system. The ranking
of the search results is supposed to take into account the user who is
logged in and several tags that define the "topic" of the search. T
I have one more question about term vector positions and offsets being
preserved. My co-worker is working on updating the documents in an index with a
field that contains a numerical value derived from the term frequencies and
inverse document frequencies of terms in the document. His first pass