Re: Return the sentence number in the indexed files

2008-07-20 Thread starz10de
thanks Grant for the answer, to index each sentence as a separate document , i already did this and it work fine, i indexed more than 93000 sentences (Documents) approx. in 11 minutes. I though the other option might be more efficient. Farag Grant Ingersoll-6 wrote: > > > On Jul 19, 2008,

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