: 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
, 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
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
: 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
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
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 the query
parser will interpret as an escape! So, you need to escape those backslashes
as well:
D\:\\somedir\\somefile.pd