RE: Unable to delete from index
It looks like you are using the solr multicore. How are you setting the solr home (meaning which like are u suisng to tell the tomcat about ur solr home path) Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 11:32 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index Here you go. Thanks for your help! Gio. -Original Message- From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] Sent: Monday, December 28, 2009 10:09 PM To: 'solr-user@lucene.apache.org' Subject: RE: Unable to delete from index Could you share both your solr.xml and solrconfig.xml Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:46 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index Sorry - hit reply too early. I edited my config as you suggested, rebooted Tomcat, and I can still find the doc through the Solr Admin interface even though I can't find it in Luke. -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:44 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index My HTTP caching is currently configured for Open Time httpCaching lastModifiedFrom=openTime etagSeed=Solr So that shouldn't be the problem, right? -Original Message- From: AHMET ARSLAN [mailto:iori...@yahoo.com] Sent: Monday, December 28, 2009 5:31 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index I opened up my index using Luke, found a document by searching for a specific ID (versionId:2002366155), and then I deleted it using Luke. After committing, performing the search again in Luke yielded no results. However, when I perform that same search using Solr, I get a result. That got me thinking that I was opening up the wrong directory in Luke but I've double-checked it a few times. Is it a problem that I have my data directory defined in solr.xml and not in solrconfig.xml? If you are querying solr from a browser can you disable http caching in solrconfig.xml httpCaching never304=true and then try again?
RE: Unable to delete from index
Are you deleting from correct index.[Meaning verify - Solr home] Also inspect thru luke to check the contents Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 4:28 PM To: solr-user@lucene.apache.org Subject: Unable to delete from index I'm having trouble performing deletes on a Solr 1.4 index. Whether I perform the deletes by query or by id, the document in question doesn't seem to get removed from the index. Even after a commit. I thought the problem might be the fact that I wasn't committing with expungeDeletes=true, but I've since changed that and I'm still having no luck. Any ideas? Thanks in advance and happy holidays, -Gio.
RE: Unable to delete from index
I opened up my index using Luke, found a document by searching for a specific ID (versionId:2002366155), and then I deleted it using Luke. After committing, performing the search again in Luke yielded no results. However, when I perform that same search using Solr, I get a result. That got me thinking that I was opening up the wrong directory in Luke but I've double-checked it a few times. Is it a problem that I have my data directory defined in solr.xml and not in solrconfig.xml? -Gio. -Original Message- From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] Sent: Monday, December 28, 2009 4:54 PM To: 'solr-user@lucene.apache.org' Subject: RE: Unable to delete from index Are you deleting from correct index.[Meaning verify - Solr home] Also inspect thru luke to check the contents Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 4:28 PM To: solr-user@lucene.apache.org Subject: Unable to delete from index I'm having trouble performing deletes on a Solr 1.4 index. Whether I perform the deletes by query or by id, the document in question doesn't seem to get removed from the index. Even after a commit. I thought the problem might be the fact that I wasn't committing with expungeDeletes=true, but I've since changed that and I'm still having no luck. Any ideas? Thanks in advance and happy holidays, -Gio.
RE: Unable to delete from index
I opened up my index using Luke, found a document by searching for a specific ID (versionId:2002366155), and then I deleted it using Luke. After committing, performing the search again in Luke yielded no results. However, when I perform that same search using Solr, I get a result. That got me thinking that I was opening up the wrong directory in Luke but I've double-checked it a few times. Is it a problem that I have my data directory defined in solr.xml and not in solrconfig.xml? If you are querying solr from a browser can you disable http caching in solrconfig.xml httpCaching never304=true and then try again?
RE: Unable to delete from index
My HTTP caching is currently configured for Open Time httpCaching lastModifiedFrom=openTime etagSeed=Solr So that shouldn't be the problem, right? -Original Message- From: AHMET ARSLAN [mailto:iori...@yahoo.com] Sent: Monday, December 28, 2009 5:31 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index I opened up my index using Luke, found a document by searching for a specific ID (versionId:2002366155), and then I deleted it using Luke. After committing, performing the search again in Luke yielded no results. However, when I perform that same search using Solr, I get a result. That got me thinking that I was opening up the wrong directory in Luke but I've double-checked it a few times. Is it a problem that I have my data directory defined in solr.xml and not in solrconfig.xml? If you are querying solr from a browser can you disable http caching in solrconfig.xml httpCaching never304=true and then try again?
RE: Unable to delete from index
Sorry - hit reply too early. I edited my config as you suggested, rebooted Tomcat, and I can still find the doc through the Solr Admin interface even though I can't find it in Luke. -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:44 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index My HTTP caching is currently configured for Open Time httpCaching lastModifiedFrom=openTime etagSeed=Solr So that shouldn't be the problem, right? -Original Message- From: AHMET ARSLAN [mailto:iori...@yahoo.com] Sent: Monday, December 28, 2009 5:31 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index I opened up my index using Luke, found a document by searching for a specific ID (versionId:2002366155), and then I deleted it using Luke. After committing, performing the search again in Luke yielded no results. However, when I perform that same search using Solr, I get a result. That got me thinking that I was opening up the wrong directory in Luke but I've double-checked it a few times. Is it a problem that I have my data directory defined in solr.xml and not in solrconfig.xml? If you are querying solr from a browser can you disable http caching in solrconfig.xml httpCaching never304=true and then try again?
RE: Unable to delete from index
Could you share both your solr.xml and solrconfig.xml Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:46 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index Sorry - hit reply too early. I edited my config as you suggested, rebooted Tomcat, and I can still find the doc through the Solr Admin interface even though I can't find it in Luke. -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:44 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index My HTTP caching is currently configured for Open Time httpCaching lastModifiedFrom=openTime etagSeed=Solr So that shouldn't be the problem, right? -Original Message- From: AHMET ARSLAN [mailto:iori...@yahoo.com] Sent: Monday, December 28, 2009 5:31 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index I opened up my index using Luke, found a document by searching for a specific ID (versionId:2002366155), and then I deleted it using Luke. After committing, performing the search again in Luke yielded no results. However, when I perform that same search using Solr, I get a result. That got me thinking that I was opening up the wrong directory in Luke but I've double-checked it a few times. Is it a problem that I have my data directory defined in solr.xml and not in solrconfig.xml? If you are querying solr from a browser can you disable http caching in solrconfig.xml httpCaching never304=true and then try again?
RE: Unable to delete from index
Here you go. Thanks for your help! Gio. -Original Message- From: Ankit Bhatnagar [mailto:abhatna...@vantage.com] Sent: Monday, December 28, 2009 10:09 PM To: 'solr-user@lucene.apache.org' Subject: RE: Unable to delete from index Could you share both your solr.xml and solrconfig.xml Ankit -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:46 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index Sorry - hit reply too early. I edited my config as you suggested, rebooted Tomcat, and I can still find the doc through the Solr Admin interface even though I can't find it in Luke. -Original Message- From: Giovanni Fernandez-Kincade [mailto:gfernandez-kinc...@capitaliq.com] Sent: Monday, December 28, 2009 5:44 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index My HTTP caching is currently configured for Open Time httpCaching lastModifiedFrom=openTime etagSeed=Solr So that shouldn't be the problem, right? -Original Message- From: AHMET ARSLAN [mailto:iori...@yahoo.com] Sent: Monday, December 28, 2009 5:31 PM To: solr-user@lucene.apache.org Subject: RE: Unable to delete from index I opened up my index using Luke, found a document by searching for a specific ID (versionId:2002366155), and then I deleted it using Luke. After committing, performing the search again in Luke yielded no results. However, when I perform that same search using Solr, I get a result. That got me thinking that I was opening up the wrong directory in Luke but I've double-checked it a few times. Is it a problem that I have my data directory defined in solr.xml and not in solrconfig.xml? If you are querying solr from a browser can you disable http caching in solrconfig.xml httpCaching never304=true and then try again? ?xml version=1.0 encoding=UTF-8 ? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- !-- All (relative) paths are relative to the installation path persistent: Save changes made via the API to this file sharedLib: path to a lib directory that will be shared across all cores -- solr persistent=true !-- adminPath: RequestHandler path to manage cores. If 'null' (or absent), cores will not be manageable via request handler -- cores adminPath=/admin/cores core name=FilingsCore1 instanceDir=FilingsCore dataDir=D:\solrData\FilingsCore1/ core name=FilingsCore2 instanceDir=FilingsCore dataDir=D:\solrData\FilingsCore2/ core name=FilingsCoreTestOnly instanceDir=FilingsCore dataDir=D:\solrData\FilingsCoreTestOnly/ /cores /solr ?xml version=1.0 encoding=UTF-8 ? !-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -- config !-- Set this to 'false' if you want solr to continue working after it has encountered an severe configuration error. In a production environment, you may want solr to keep working even if one handler is mis-configured. You may also set this to false using by setting the system property: -Dsolr.abortOnConfigurationError=false -- abortOnConfigurationError${solr.abortOnConfigurationError:true}/abortOnConfigurationError !-- Used to specify an alternate directory to hold all index data other than the default ./data under the Solr home. If replication is in use, this should match the replication configuration. -- !--dataDir${solr.data.dir:./solr/data}/Core0/dataDir-- indexDefaults