My bad. I mean during search.
I am using simple checking now. When I enter loop iteration check if row
repeats, and if it is, I omit it in result. But it is too slow method. Is
there any way to filter it before I enter loop?
Devashish wrote:
>
>
> delete the rows first, that you are about to add.
> Create a term using a field & its value, and delete documents containing
> the term. Then, add the document to the index.
>
> -Devashish
>
> On Thu, 2008-12-04 at 15:26 +0530, vladimirMaric wrote:
>> How can I avoid (control) row repeat in lucene.net?
>>
>> row content
>> 1 aaa
>> 2 bbb
>> 3 ccc
>> 4 ccc->out
>> 5 ccc->out
>> 6 ddd
>> 7 ddd->out
>> 8 eee
>> 9 fff
>> 10 fff->out
>>
>> Thank you,
>> Vladimir
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/avoid-row-repeat-tp20830363p20830363.html
>> Sent from the Lucene - General mailing list archive at Nabble.com.
>>
> --
> Devashish <devashish.b@naukri.com>
> Naukri Tech
>
>
>
--
View this message in context: http://www.nabble.com/avoid-row-repeat-tp20830363p20830876.html
Sent from the Lucene - General mailing list archive at Nabble.com.
|