Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-30 Thread cpmoser
Ok, I think I figured out what might be happening. It appears that the DataImporter issues the commit command without the expungeDeletes option set to true (default in 1.4 for a commit command is for expungeDeletes to be set to false). You can get around this by issuing the commit command manual

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-27 Thread Mark Ellul
Thanks I will look into it! On Fri, Nov 27, 2009 at 11:34 PM, cpmoser wrote: > > Hi I just recently (well today actually) ran into the same issue, and a > Google search led me here. Something in the log that clued me in to my > issue was this: > > Nov 27, 2009 1:27:05 PM org.apache.solr.core.So

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-27 Thread cpmoser
Hi I just recently (well today actually) ran into the same issue, and a Google search led me here. Something in the log that clued me in to my issue was this: Nov 27, 2009 1:27:05 PM org.apache.solr.core.SolrDeletionPolicy onInit I was expecting docs to be removed on commit (which normally happ

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Mark Ellul
@gmail.com > > Sent: Tue, November 17, 2009 9:22:13 AM > > Subject: Re: $DeleteDocbyQuery in solr 1.4 is not working > > > > Hi Noble, > > > > I have updated my entity specs, by having a separate entity for > > selecting rows which are not deleted for and ones that

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Otis Gospodnetic
oble.p...@gmail.com > Sent: Tue, November 17, 2009 9:22:13 AM > Subject: Re: $DeleteDocbyQuery in solr 1.4 is not working > > Hi Noble, > > I have updated my entity specs, by having a separate entity for > selecting rows which are not deleted for and ones that are deleted,

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Mark Ellul
Hi Noble, I have updated my entity specs, by having a separate entity for selecting rows which are not deleted for and ones that are deleted, so I am sure now that the document is not getting added in the same import. I read in the tutorial that the deletes are not taken out until the commit is d

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
why don't you add a new timestamp field . you can use the TemplateTransformer with the formatDate() function On Tue, Nov 17, 2009 at 5:49 PM, Mark Ellul wrote: > Hi Noble, > > Excellent Question... should the field that does the deleting be in a > different entity to the one that does the additi

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Mark Ellul
The doc already existed before the delta-import has been run. And it exists afterwards... even though it says its deleting it. Any ideas of what I can try? On 11/17/09, Noble Paul നോബിള്‍ नोब्ळ् wrote: > are you sure that the doc w/ the same id was not created after that? > > On Mon, Nov 16, 2

Re: $DeleteDocbyQuery in solr 1.4 is not working

2009-11-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
are you sure that the doc w/ the same id was not created after that? On Mon, Nov 16, 2009 at 11:12 PM, Mark Ellul wrote: > Hi, > > I have added a deleted field in my database, and am using the > Dataimporthandler to add rows to the index... > > I am using solr 1.4 > > I have added my the deleted