On Thu, Feb 14, 2013 at 11:42 AM, VIGNESH S <[email protected]> wrote: > Hi, > > I have two questions > > 1.How to Get the enumeration of Terms Ending with a given word > I saw we can get enumerations of word starting at a given word by > Indexreader.terms(term())) method
unless you want to iterate all terms and check each if it ends with a given string I think you need to index the terms in reversed order and get a prefix terms enum from that field. Look at [1] [1] http://lucene.apache.org/core/4_1_0/analyzers-common/org/apache/lucene/analysis/reverse/ReverseStringFilter.html > > 2.Actually I am doing an multiphrase query.In that I do do a suffix > query on first word..How can i do please kindly help.. > > > -- > Thanks and Regards > Vignesh Srinivasan > 9739135640 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
