On Thu, Feb 14, 2013 at 11:42 AM, VIGNESH S <vigneshkln...@gmail.com> 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: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>

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

Reply via email to