Re: solr adding unique values

2013-05-08 Thread Nikhil Kumar
Thanks Erick, I had a look on deduplication . I added : true listed_id true listed solr.processor.Lookup3Signature dedupe in so

Re: solr adding unique values

2013-05-07 Thread Nikhil Kumar
Thanks Erik, For the reply ! I know about 'set' but that's not my goal, i had to give a better example. I want this and if i have to add another list_c user a[ id:a liists[ list_a, list_b ] ] It Should look like: user a[ id:a liists[ list_a, list_b, list

Re: solr adding unique values

2013-05-06 Thread Erick Erickson
Depends on your goal here. I'm guessing you're using atomic updates, in which case you need to use "set" rather than "add" as the former replaces the contents. See: http://wiki.apache.org/solr/UpdateJSON#Solr_4.0_Example If you're simply re-indexing the documents, just send the entire fresh docume

solr adding unique values

2013-05-06 Thread Nikhil Kumar
Hey, I have recently started using solr, I have a list of users, which are subscribed to some lists. eg. user a[ id:a liists[ list_a ] ] user b[ id:b liists[ list_a ] ] I am using {"id": a, "lists":{"add":"list_a"}} to add particular list a user. but what is happen