Re: Phrase indexing and searching

2013-12-23 Thread Steve Rowe
Hi Manjula, Sounds like ShingleFilter will do what you want: http://lucene.apache.org/core/4_6_0/analyzers-common/org/apache/lucene/analysis/shingle/ShingleFilter.html Steve www.lucidworks.com On Dec 22, 2013 11:25 PM, Manjula Wijewickrema manjul...@gmail.com wrote: Dear All, My Lucene

Re: Phrase indexing and searching

2013-12-23 Thread Manjula Wijewickrema
Hi Steve, Thanks for the reply. Could you please simply let me know how to embed SingleFilter in the code for both indexing and searching? Coz, different people suggest different snippets to the code and they did not do the job. Thanks, Manjula. On Mon, Dec 23, 2013 at 8:42 PM, Steve Rowe

Phrase indexing and searching

2013-12-22 Thread Manjula Wijewickrema
Dear All, My Lucene programme is able to index single words and search the most matching documents (based on term frequencies) documents from a corpus to the input document. Now I want to index two word phrases and search the matching corpus documents (based on phrase frequencies) to the input

Phrase indexing and searching

2013-12-18 Thread Manjula Wijewickrema
Dear list, My Lucene programme is able to index single words and search the most matching documents (based on term frequencies) documents from a corpus to the input document. Now I want to index two word phrases and search the matching corpus documents (based on phrase frequencies) to the input

Re: Phrase indexing and searching with Lucene

2009-02-23 Thread Chris Hostetter
: Subject: Phrase indexing and searching with Lucene : References: 499be497.2060...@mapmyindia.com : 18248.30864...@web26005.mail.ukl.yahoo.com http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do

RE: Phrase indexing and searching with Lucene

2009-02-19 Thread Nada Mimouni
/18/2009 3:24 PM To: java-user@lucene.apache.org Subject: Re: Phrase indexing and searching with Lucene I'm still not clear why the built-in phrase query syntax won't work. If I index the following terms (erick, erickson, thinks, small, thoughts) in a single field, then searching for erick

Re: Phrase indexing and searching with Lucene

2009-02-19 Thread Erick Erickson
- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Wed 2/18/2009 3:24 PM To: java-user@lucene.apache.org Subject: Re: Phrase indexing and searching with Lucene I'm still not clear why the built-in phrase query syntax won't work. If I index the following terms (erick, erickson

Phrase indexing and searching with Lucene

2009-02-18 Thread Nada Mimouni
Hello everybody, In my research work, I use Lucene to index and search into text documents. At present, I just index and search for single words. I want to extend this to phrases (or nGrams). Could anyone please give me more details on how to do it and also point me to some useful references

Phrase indexing and searching with Lucene

2009-02-18 Thread Nada Mimouni
Hello everybody, I use Lucene to index and search into text documents. At present, I just index and search for single words. I want to extend this to phrases (or nGrams). Could anyone please give me details on how to index phrases and then make a phrase search? Thank you very much in

Re: Phrase indexing and searching with Lucene

2009-02-18 Thread Erick Erickson
Have you tried the built-in phrase processing with double quotes? e.g. this is a phrase? See the Term section at http://lucene.apache.org/java/2_4_0/queryparsersyntax.html Best Erick On Wed, Feb 18, 2009 at 5:57 AM, Nada Mimouni mimo...@tk.informatik.tu-darmstadt.de wrote: Hello everybody,

RE: Phrase indexing and searching with Lucene

2009-02-18 Thread Nada Mimouni
2:10 PM To: java-user@lucene.apache.org Subject: Re: Phrase indexing and searching with Lucene Have you tried the built-in phrase processing with double quotes? e.g. this is a phrase? See the Term section at http://lucene.apache.org/java/2_4_0/queryparsersyntax.html Best Erick On Wed, Feb 18

Re: Phrase indexing and searching with Lucene

2009-02-18 Thread Erick Erickson
- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Wed 2/18/2009 2:10 PM To: java-user@lucene.apache.org Subject: Re: Phrase indexing and searching with Lucene Have you tried the built-in phrase processing with double quotes? e.g. this is a phrase? See the Term section at http