You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by 张瑾 <ji...@jimijin.com> on 2006/04/30 05:45:02 UTC

In a index there are two same record,how do I get a unique record?

Hello,
 *    two field: name,contents.there are two record as below:*
*    Record 1:name*:kely *contents:* I am from America,I am glad to meet
you.
    *Record 2:name*:kely *contents:* I am a high school.
    I  add the two records to lucene index.name use ketword.but When I
search kely,I only need a record including kely.
    Please tell me how I should  do?
    Why do I do like the?Because When I modify the data,I only add it the
index,I don't delete it immediately.I can delete when the Os is idlesse .
    Thanks very much!
    My msn:?prettysino@homail.com

Fwd: In a index there are two same record,how do I get a unique record?

Posted by kely <pr...@gmail.com>.
 Hello,
 *    two field: name,contents.there are two record as below:*
*    Record 1:name*:kely *contents:* I am from America,I am glad to meet
you.
    *Record 2:name*:kely *contents:* I am a high school.
    I  add the two records to lucene index.name use ketword.but When I
search kely,I only need a record including kely.
    Please tell me how I should  do?
    Why do I do like the?Because When I modify the data,I only add it the
index,I don't delete it immediately.I can delete when the Os is idlesse .
    Thanks very much!
    My msn:?prettysino@homail.com