Re: Return the sentence number in the indexed files

2008-07-19 Thread Grant Ingersoll
On Jul 19, 2008, at 6:00 AM, starz10de wrote: Hi All, I have a text files that contain several sentences, there is space between each sentence. When searching the index , i get the path for the documents that match the query String path = doc.get("path"); Is it possible to get the n

Re: How to avoid duplicate records in lucene

2008-07-19 Thread markharw00d
Sebastin wrote: Hi All, Is there any possibility to avoid duplicate records in lucene 2.3.1? At index-time or query time? See DuplicateFilter in contrib/queries for a query-time filter Cheers Mark - To unsubscribe, e-

Re: Payloads and SpanScorer

2008-07-19 Thread Peter Keegan
I discovered this post from Karl Wettin in May about SpanNearQuery scoring: http://www.nabble.com/SpanNearQuery-scoring-td17425454.html#a17425454 Karl apparently had the same expectations I had about the usage model of spans and boosts. I also found JIRA issue 533 (SpanQuery scoring: SpanWeight la

How to avoid duplicate records in lucene

2008-07-19 Thread Sebastin
Hi All, Is there any possibility to avoid duplicate records in lucene 2.3.1? -- View this message in context: http://www.nabble.com/How-to-avoid-duplicate-records-in-lucene-tp18543588p18543588.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---

Return the sentence number in the indexed files

2008-07-19 Thread starz10de
Hi All, I have a text files that contain several sentences, there is space between each sentence. When searching the index , i get the path for the documents that match the query String path = doc.get("path"); Is it possible to get the number of the sentence that match the query inside the

GeoSort approach - your opinion

2008-07-19 Thread Sascha Fahl
Hi, last week I realized an approach for GeoSort in lucene. Inspired by "Lucene in action" I modified the algorithm in the following way. When an IndexReader for a certain index is created, a cache for geoinformation is created - this simply is a 2 dimensional int Array. So it is possible