lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: How do I use MultiTermQuery.Rewrite when working with a MemoryIndex
Date Wed, 22 Aug 2012 14:36:48 GMT
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: uwe@thetaphi.de

> -----Original Message-----
> From: Dave Seltzer [mailto:dseltzer@tveyes.com]
> Sent: Wednesday, August 22, 2012 4:23 PM
> To: java-user@lucene.apache.org
> Subject: How do I use MultiTermQuery.Rewrite when working with a
> MemoryIndex
> 
> 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've seen references to a MemoryIndexReader in past versions of Lucene,
but it
> definately doesn't appear in 3.5.0
> 
> Thanks so much!
> 
> -Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message