Re: Items disappearing from Solr index

2012-10-30 Thread Kissue Kissue
@lucene.apache.org Subject: Re: Items disappearing from Solr index # It is looking for documents with Emory in the specified field OR Labs in the default search field. This does not seem to be the case. For instance issuing a deleteByQuery for catalogueId: PEARL LINGUISTICS LTD also deletes

Re: Items disappearing from Solr index

2012-09-27 Thread Kissue Kissue
Sent: Wednesday, September 26, 2012 1:43 PM To: solr-user@lucene.apache.org Subject: Re: Items disappearing from Solr index # It is looking for documents with Emory in the specified field OR Labs in the default search field. This does not seem to be the case. For instance issuing

Re: Items disappearing from Solr index

2012-09-27 Thread Erick Erickson
...@basetechnology.comwrote: What is the field type for that field - string or text? -- Jack Krupansky -Original Message- From: Kissue Kissue Sent: Wednesday, September 26, 2012 1:43 PM To: solr-user@lucene.apache.org Subject: Re: Items disappearing from Solr index # It is looking

Re: Items disappearing from Solr index

2012-09-27 Thread Kissue Kissue
-Original Message- From: Kissue Kissue Sent: Wednesday, September 26, 2012 1:43 PM To: solr-user@lucene.apache.org Subject: Re: Items disappearing from Solr index # It is looking for documents with Emory in the specified field OR Labs in the default search field. This does

Re: Items disappearing from Solr index

2012-09-26 Thread Kissue Kissue
I have just solved this problem. We have a field called catalogueId. One possible value for this field could be Emory Labs. I found out that when the following delete by query is sent to solr: getSolrServer().deleteByQuery(catalogueId + : + Emory Labs) [Notice that there are no quotes

Re: Items disappearing from Solr index

2012-09-26 Thread Jack Krupansky
It is looking for documents with Emory in the specified field OR Labs in the default search field. -- Jack Krupansky -Original Message- From: Kissue Kissue Sent: Wednesday, September 26, 2012 7:47 AM To: solr-user@lucene.apache.org Subject: Re: Items disappearing from Solr index I

Re: Items disappearing from Solr index

2012-09-26 Thread Travis Low
: Re: Items disappearing from Solr index I have just solved this problem. We have a field called catalogueId. One possible value for this field could be Emory Labs. I found out that when the following delete by query is sent to solr: getSolrServer().deleteByQuery(**catalogueId + : + Emory

Re: Items disappearing from Solr index

2012-09-26 Thread Shawn Heisey
On 9/26/2012 5:47 AM, Kissue Kissue wrote: getSolrServer().deleteByQuery(catalogueId + : + Emory Labs) [Notice that there are no quotes surrounding the catalogueId value - Emory Labs] How did you even get this Java code to compile? I would expect the compiler to throw an error, even if

Re: Items disappearing from Solr index

2012-09-26 Thread Yonik Seeley
On Wed, Sep 26, 2012 at 10:45 AM, Shawn Heisey s...@elyograg.org wrote: On 9/26/2012 5:47 AM, Kissue Kissue wrote: getSolrServer().deleteByQuery(catalogueId + : + Emory Labs) [Notice that there are no quotes surrounding the catalogueId value - Emory Labs] How did you even get this Java

Re: Items disappearing from Solr index

2012-09-26 Thread Kissue Kissue
, September 26, 2012 7:47 AM To: solr-user@lucene.apache.org Subject: Re: Items disappearing from Solr index I have just solved this problem. We have a field called catalogueId. One possible value for this field could be Emory Labs. I found out that when the following delete by query is sent to solr

Re: Items disappearing from Solr index

2012-09-26 Thread Erik Hatcher
On Sep 26, 2012, at 04:47 , Kissue Kissue wrote: getSolrServer().deleteByQuery(catalogueId + : + Emory Labs) [Notice that there are no quotes surrounding the catalogueId value - Emory Labs] The best way to do this type of query (where the field type is a string with arbitrary characters that

Re: Items disappearing from Solr index

2012-09-26 Thread Jack Krupansky
What is the field type for that field - string or text? -- Jack Krupansky -Original Message- From: Kissue Kissue Sent: Wednesday, September 26, 2012 1:43 PM To: solr-user@lucene.apache.org Subject: Re: Items disappearing from Solr index # It is looking for documents with Emory

Items disappearing from Solr index

2012-09-24 Thread Kissue Kissue
Hi, I am running Solr 3.5, using SolrJ and using StreamingUpdateSolrServer to index and delete items from solr. I basically index items from the db into solr every night. Existing items can be marked for deletion in the db and a delete request sent to solr to delete such items. My process runs

Re: Items disappearing from Solr index

2012-09-24 Thread Erick Erickson
How do you delete items? By ID or by query? My guess is that one of two things is happening: 1 your delete process is deleting too much data. 2 your index process isn't indexing what you think. I'd add some logging to the SolrJ program to see what it thinks is has deleted or added to the index

Re: Items disappearing from Solr index

2012-09-24 Thread Kissue Kissue
Hi Erick, Thanks for your reply. Yes i am using delete by query. I am currently logging the number of items to be deleted before handing off to solr. And from solr logs i can it deleted exactly that number. I will verify further. Thanks. On Mon, Sep 24, 2012 at 1:21 PM, Erick Erickson