Re: How can I index Phrases in Lucene?

2007-03-23 Thread mark harwood
This may be of interest: http://issues.apache.org/jira/browse/LUCENE-474 Cheers Mark - Original Message From: Ryan McKinley <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Friday, 23 March, 2007 3:25:02 AM Subject: Re: How can I index Phrases in Lucene? Is there any

Re: How can I index Phrases in Lucene?

2007-03-22 Thread karl wettin
ically? thanks ryan On 3/22/07, Erick Erickson <[EMAIL PROTECTED]> wrote: Well, you don't index phrases, it's done for you. You should try something like the following Create a SpanNearQuery with your terms. Specify an appropriate slop (probably 0 assuming you want them a

Re: How can I index Phrases in Lucene?

2007-03-22 Thread Ryan McKinley
magic that will surface frequent phrases automatically? thanks ryan On 3/22/07, Erick Erickson <[EMAIL PROTECTED]> wrote: Well, you don't index phrases, it's done for you. You should try something like the following Create a SpanNearQuery with your terms. Specify an appropriate

Re: How can I index Phrases in Lucene?

2007-03-22 Thread Erick Erickson
Well, you don't index phrases, it's done for you. You should try something like the following Create a SpanNearQuery with your terms. Specify an appropriate slop (probably 0 assuming you want them all next to each other). Now use call getSpans and count ... You may have to do some

How can I index Phrases in Lucene?

2007-03-22 Thread Maryam
Hi, I know how to index terms in lucene, now I wanna see how can I index phrases like "information retreival" in lucene and calculate the number of times that phrase has appeared in the document. Is there any way to do it in Lucen

Re: index phrases

2005-06-22 Thread sergiu gordea
Ciau, Ce mai faci? Cred ca te-am mai intrebat ce lucrezi, dar am uitat. In viitorul apropiat s-ar putea sa lucrez si eu putin in directia text mining si bineinteles ca am sa refolosesc ce e implementat in lucene. S-ar putea ca munca noastra sa aiba ceva puncte comune .. te intereseaza sa ma

Re: index phrases

2005-06-22 Thread Roxana Angheluta
Dear all, I am using Lucene for indexing documents. I would like to include phrases (of a certain maximum length given as a parameter) in the index. I know this is non-standard for e.g. searching, where a PhraseQuery can be built which makes use of the terms positions. However, I am not

Re: index phrases

2005-06-21 Thread Sebastian Marius Kirsch
On Tue, Jun 21, 2005 at 02:06:31PM -0400, Erik Hatcher wrote: > A contribution with dependencies is fine, especially Apache ones. We > can put this code in the contrib area if you'd like to contribute > it. If so, please create a Bugzilla issue and attach the sources. Hi Erik, thanks for th

Re: index phrases

2005-06-21 Thread Erik Hatcher
On Jun 21, 2005, at 12:46 PM, Sebastian Marius Kirsch wrote: On Tue, Jun 21, 2005 at 04:01:41PM +0200, Roxana Angheluta wrote: I would like to include phrases (of a certain maximum length given as a parameter) in the index. I know this is non-standard for e.g. searching, where a PhraseQuer

Re: index phrases

2005-06-21 Thread Sebastian Marius Kirsch
On Tue, Jun 21, 2005 at 04:01:41PM +0200, Roxana Angheluta wrote: > I would like to include phrases (of a certain maximum length given as a > parameter) in the index. I know this is non-standard for e.g. searching, > where a PhraseQuery can be built which makes use of the terms positions. > Howe

Re: index phrases

2005-06-21 Thread Erik Hatcher
On Jun 21, 2005, at 10:01 AM, Roxana Angheluta wrote: Dear all, I am using Lucene for indexing documents. I would like to include phrases (of a certain maximum length given as a parameter) in the index. I know this is non-standard for e.g. searching, where a PhraseQuery can be built which

index phrases

2005-06-21 Thread Roxana Angheluta
Dear all, I am using Lucene for indexing documents. I would like to include phrases (of a certain maximum length given as a parameter) in the index. I know this is non-standard for e.g. searching, where a PhraseQuery can be built which makes use of the terms positions. However, I am not inter