lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: A little more CHANGES.txt help on terms(), please
Date Tue, 06 Mar 2012 14:34:10 GMT
Hi,

MultiFields should only be used (as it is slow) if you exactly know what you are doing and
what the consequences are. There is a change in Lucene 4.0, so you can no longer terms and
postings from a top-level (composite) reader. More info is also here: http://goo.gl/lMKTM

Uwe

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Benson Margulies [mailto:bimargulies@gmail.com]
> Sent: Tuesday, March 06, 2012 3:15 PM
> To: java-user@lucene.apache.org
> Subject: Re: A little more CHANGES.txt help on terms(), please
> 
> On Tue, Mar 6, 2012 at 8:56 AM, Uwe Schindler <uwe@thetaphi.de> wrote:
> > AtomicReader.fields()
> 
> I went and read up AtomicReader in CHANGES.txt. Should I call
> SegmentReader.getReader(IOContext)?
> 
> I just posted a patch to CHANGES.txt to clarify before I read your email, shall I
> improve it to use this instead of
> 
>     MultiFields.getFields(indexReader).iterator();
> 
> which I came up with by fishing around for myself?
> 
> >
> > -----
> > Uwe Schindler
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> > http://www.thetaphi.de
> > eMail: uwe@thetaphi.de
> >
> >
> >> -----Original Message-----
> >> From: Benson Margulies [mailto:bimargulies@gmail.com]
> >> Sent: Tuesday, March 06, 2012 2:50 PM
> >> To: java-user@lucene.apache.org
> >> Subject: A little more CHANGES.txt help on terms(), please
> >>
> >> Under "LUCENE-1458, LUCENE-2111: Flexible Indexing", CHANGES.txt
> >> appears to be missing one critical hint. If you have existing code
> >> that called IndexReader.terms(), where do you start to get a FieldsEnum?
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> >> For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
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