Re: Deleting an entry from a collection when they key has ":" in it

2013-05-20 Thread Chris Hostetter
: Technically, core Solr does not require a unique key. A lot of features in nohting in this thread refered to the uniqueKey field, or the lack of a uniqueKey field in the users schema, at all until you brought it up. * the user has a field named "key" * the user had a question about deleting

Re: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Jason Hellman
, and it is recommended that you have unique keys, > but it is not an absolute requirement. > > -- Jack Krupansky > -Original Message- From: Daniel Baughman > Sent: Thursday, May 16, 2013 1:50 PM > To: solr-user@lucene.apache.org > Subject: RE: Deleting an entry from a collec

Re: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Jack Krupansky
PM To: solr-user@lucene.apache.org Subject: RE: Deleting an entry from a collection when they key has ":" in it Thanks for the idea http://localhost:8983/solr/docrepo/update/?stream.body=%3Cdelete%3E%3Cquery% 3Ekey%3AD\:\\Webdocs\\sw4\\docRepo\\documents\\Hiring%20Manager\\Dis

RE: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Chris Hostetter
: If in my schema, I have the "key" field set to indexed=false, then is that : maybe the issue? I'm going to try to set that to true and rebuild the : repository and see if that does it. if a field is indexed="false" you can not query on it. if you can not query on a field, then you can not del

RE: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Daniel Baughman
13 11:20 AM To: solr-user@lucene.apache.org Subject: Re: Deleting an entry from a collection when they key has ":" in it You need to escape colons in queries, using either a backslash or enclosing the full query term in quotes. In your case, you have backslashes as well in your query, which th

Re: Deleting an entry from a collection when they key has ":" in it

2013-05-16 Thread Jack Krupansky
\\somefile.pdf or "D:\\somedir\\somefile.pdf" -- Jack Krupansky -Original Message- From: Daniel Baughman Sent: Thursday, May 16, 2013 11:33 AM To: solr-user@lucene.apache.org Subject: Deleting an entry from a collection when they key has ":" in it Hi All, I seem to be