Re: how to use DuplicateFilter to get unique documents based on a fieldName

2010-03-05 Thread ani...@ekkitab
books. On Thu, 04 Mar 2010 20:43:26 +0800, ani...@ekkitab ani...@ekkitab.com wrote: Hi there, Could someone help me with the usage of DuplicateFilters. Here is my problem I have created a search index on book Id , title ,and author from a database of books which fall under

how to use DuplicateFilter to get unique documents based on a fieldName

2010-03-04 Thread ani...@ekkitab
Hi there, Could someone help me with the usage of DuplicateFilters. Here is my problem I have created a search index on book Id , title ,and author from a database of books which fall under various categories. Some books fall under more than one category. Now, when i issue a search, I get back

Re: how to use DuplicateFilter to get unique documents based on a fieldName

2010-03-04 Thread ani...@ekkitab
. If your index is large I'd be worried about performance and would look at deduping at indexing time i.e. have one lucene document per ISBN. -- Ian. On Thu, Mar 4, 2010 at 12:43 PM, ani...@ekkitab ani...@ekkitab.com wrote: Hi there, Could someone help me with the usage

Re: how to use DuplicateFilter to get unique documents based on a fieldName

2010-03-04 Thread ani...@ekkitab
. ie Field.Index was set to NO. We changed this, repopulated the documents and the filtering works now. Thanks for your time. zhangchi wrote: i think you should check the index first.using the lukeall to see if there is the duplicate books. On Thu, 04 Mar 2010 20:43:26 +0800, ani