lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Seltzer <dselt...@tveyes.com>
Subject Re: How do I use MultiTermQuery.Rewrite when working with a MemoryIndex
Date Wed, 22 Aug 2012 14:38:31 GMT
Perfect!

Thanks so much!

On Wed, Aug 22, 2012 at 10:36 AM, Uwe Schindler <uwe@thetaphi.de> 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: 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
>
>


-- 
Dave Seltzer <dseltzer@tveyes.com>
Chief Systems Architect
TVEyes
(203) 254-3600 x222

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message