number of times the keyword match

2007-05-15 Thread Anny Bridge
Hi all, When do search with lucene,can i get the number of times the keyword match with a specific document? Thanks in advance. Best Regards, Anny.

Re: number of times the keyword match

2007-05-25 Thread Anny Bridge
Hi Grant, Is there any code example for this case? Thanks, Anny On 5/15/07, Grant Ingersoll <[EMAIL PROTECTED]> wrote: Yes, have a look at the SpanQuery functionality. -Grant On May 15, 2007, at 3:05 AM, Anny Bridge wrote: > Hi all, > > When do search with lucene,can i ge

times of match in a document

2007-05-27 Thread Anny Bridge
Hi, I use lucene in my project and it works well. Now I hope that the search result presenting to the user include the times of the keyword match in a document. Is there someone do this before,Or is there any code example for this... Thanks in Advance. Anny