Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-23 Thread bbarani
hanks, Barani -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-delete-a-SOLR-document-if-that-particular-data-doesnt-exist-in-DB-tp1739222p1761093.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread ben boggess
ogram which will fetch the > > UID's > > from SOLR document and then connect to backend DB to check the orphan > UID's > > and delete the documents from SOLR index corresponding to orphan UID's. I > > just dont want to re-invent the wheel if this featur

Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread Erick Erickson
f this feature is already present in > SOLR as I need to do more testing in terms of performance / scalability for > my program.. > > Thanks, > Barani > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/How-to-delete-a-SOLR-document-if-that-particular-data-doesnt-exist-in-DB-tp1739222p1739222.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread Ezequiel Calderara
Also you can set an expiration policy maybe, and delete files that expire after some time and aren't older than other... but i don't know if you can iterate over the existing ids... On Wed, Oct 20, 2010 at 1:34 PM, Shawn Heisey wrote: > On 10/20/2010 9:59 AM, bbarani wrote: > >> We actually use

Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread Shawn Heisey
On 10/20/2010 9:59 AM, bbarani wrote: We actually use virtual DB modelling tool to fetch the data from various sources during run time hence we dont have any control over the source. We consolidate the data from more than one source and index the consolidated data using SOLR. We dont have any ki

Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread Mike Sokolov
Since you are performing a complete reload of all of your data, I don't understand why you can't create a new core, load your new data, swap your application to look at the new core, and then erase the old one, if you want. Even so, you could track the timestamps on all your documents, which

Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread bbarani
kind of update / access rights to source data. Thanks. Barani -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-delete-a-SOLR-document-if-that-particular-data-doesnt-exist-in-DB-tp1739222p1739642.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread Ezequiel Calderara
> just dont want to re-invent the wheel if this feature is already present in > SOLR as I need to do more testing in terms of performance / scalability for > my program.. > > Thanks, > Barani > > > -- > View this message in context: > http://lucene.472066.n3.

How to delete a SOLR document if that particular data doesnt exist in DB?

2010-10-20 Thread bbarani
vent the wheel if this feature is already present in SOLR as I need to do more testing in terms of performance / scalability for my program.. Thanks, Barani -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-delete-a-SOLR-document-if-that-particular-data-doesnt-exist-in-