lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sriram Muthuswamy Chittathoor" <>
Subject RE: Applying LUCENE-1606 -- which version
Date Wed, 27 Jan 2010 07:28:26 GMT
I tried on the flex brach and it  seems to be working well. This is the
general pattern I am following  (both for prefix queries and queries of
the sort   ".{0,3}poker.*".   I am assuming I could just use this as
part of a larger BooleanQuery. 

AutomatonQuery aq = new
TopDocs td =, 10);
ScoreDoc[] sd = td.scoreDocs; 

Begin loop ...
System.out.println ("Doc : " + searcher.doc(sd[i].doc).get("data"));
End loop

Can I just use this production or need to wait till this is officially
released ? 

-----Original Message-----
From: Uwe Schindler [] 
Sent: Friday, January 22, 2010 4:00 PM
Subject: RE: Applying LUCENE-1606 -- which version

Hi Sriram,

This patch cannot be applied to 3.0 as it depends on a new Lucene branch
called flex. It depends on features, only added in version 3.1. So it
does not even apply on trunk, you have to checkout the experimental flex
branch first.

For 3.0 you, may try one of the early patches (the last without -flex in
name) in this issue, but they will never go into lucene 3.1, instead the
flex branch will hopefully merge with trunk, soon. Also the non-flex
patches are not so performant, because the performance increases only
with flexible indexing API.


Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen

> -----Original Message-----
> From: Sriram Muthuswamy Chittathoor []
> Sent: Friday, January 22, 2010 11:05 AM
> To:
> Subject: Applying LUCENE-1606 -- which version
> Hi:
> I am trying to apply this Automata patch on my Lucene 3.0 src code but
> running into issues as it is complaining about failures to apply patch
> to certain files.  Is this the right version
> To apply to.  Please help
> Thanks
> Sriram C
> LUCENE-1606
> This email is sent for and on behalf of Ivy Comptech Private Limited.
> Ivy Comptech Private Limited is a limited liability company.
> This email and any attachments are confidential, and may be legally
> privileged and protected by copyright. If you are not the intended
> recipient dissemination or copying of this email is prohibited. If you
> have received this in error, please notify the sender by replying by
> email and then delete the email completely from your system.
> Any views or opinions are solely those of the sender.  This
> communication is not intended to form a binding contract on behalf of
> Ivy Comptech Private Limited unless expressly indicated to the
> and properly authorised. Any actions taken on the basis of this email
> are at the recipient's own risk.
> Registered office:
> Ivy Comptech Private Limited, Cyber Spazio, Road No. 2, Banjara Hills,
> Hyderabad 500 033, Andhra Pradesh, India. Registered number: 37994.
> Registered in India. A list of members' names is available for
> inspection at the registered office.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message