Re: Deleted documents appearing in facet fields

2010-06-03 Thread Erik Hatcher
Ahmet - this would be a good one to genericize on the SolrJ wiki. It seems there is a lot of confusion about SolrJ, where users of it often don't think they can make requests to Solr like you see URL examples of, but of course they can make requests to any request handler as you've shown.

Re: Deleted documents appearing in facet fields

2010-06-03 Thread Rakhi Khatwani
Thankyou So Much :) On Thu, Jun 3, 2010 at 6:47 PM, Ahmet Arslan wrote: > > Hi Ahmet, > > but i use > > solrj to commit documents. and there is no commit > > method which allows you to mention expungeDeletes. > > > > Alternatively you can do it with SolrQuery. > > final SolrQuery q

Re: Deleted documents appearing in facet fields

2010-06-03 Thread Ahmet Arslan
> Hi Ahmet, >               but i use > solrj to commit documents. and there is no commit > method which allows you to mention expungeDeletes. > Alternatively you can do it with SolrQuery. final SolrQuery query = new SolrQuery(); query.set("qt", "/update"); query.set("commit", true); query.set("

Re: Deleted documents appearing in facet fields

2010-06-03 Thread Rakhi Khatwani
Hi Ahmet, but i use solrj to commit documents. and there is no commit method which allows you to mention expungeDeletes. BTW i am using solr 1.4 Regards, Raakhi On Thu, Jun 3, 2010 at 5:03 PM, Ahmet Arslan wrote: > > Hi, > >I have a schema with id as > > one of the field

Re: Deleted documents appearing in facet fields

2010-06-03 Thread Ahmet Arslan
> Hi, >        I have a schema with id as > one of the fields. i index some documents > (by adding and deleting some documents). > when i perform faceting on all documents(q=*:*) with > facet.field=id, i even > get those id's for which the document is deleted > > for example: (025_null,026