Hello, Make sure your unique id has a type which always yields one token after tokenisation is applied (e.g. either "string" or a type which only defines the KeywordTokenizer in its chain)
Regards, Savvas On 5 July 2012 11:02, Sohail Aboobaker <sabooba...@gmail.com> wrote: > Hi, > > We have defined a unique key as schemaid. We add documents using > server.addBean(obj) method. We are using the same method for updates as > well. When browsing the schema, we see that some of the schemaid values > have frequency of more than 1. Since, schemaid column is defined as unique > key, we are expecting when addBean, it will automatically "replace" the > existing entry in index. > > Are we supposed to use a different method for update as opposed to add? > > Regards, > Sohail