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

2013-05-16 Thread Daniel Baughman
Thanks for the idea
http://localhost:8983/solr/docrepo/update/?stream.body=%3Cdelete%3E%3Cquery%
3Ekey%3AD\:\\Webdocs\\sw4\\docRepo\\documents\\Hiring%20Manager\\Disciplinar
y\\asdfasdf\.docx%3C%2Fquery%3E%3C%2Fdelete%3E

I do have :'s and  \'s escaped, I believe.

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.


-Original Message-
From: Jack Krupansky [mailto:j...@basetechnology.com] 
Sent: Thursday, May 16, 2013 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 the query
parser will interpret as an escape! So, you need to escape those backslashes
as well:

D\:\\somedir\\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 really struggling to delete an entry from  a search repository
that has a ":" in the key.



The key is path to the file ie, "D:\somedir\somefile.pdf".



I want to use a query to delete it and I just can't seem to make it go away.



I've been trying stuff lke this:

http://localhost:8983/solr/docrepo/update/?stream.body=%3Cdelete%3E%3Cquery%
3Ekey%3AD\:\\Webdocs\\sw4\\docRepo\\documents\\Hiring%20Manager\\Disciplinar
y\\asdfasdf\.docx%3C%2Fquery%3E%3C%2Fdelete%3E
<http://localhost:8983/solr/docrepo/update/?stream.body=%3Cdelete%3E%3Cquery
%3Ekey%3AD\:\\Webdocs\\sw4\\docRepo\\documents\\Hiring%20Manager\\Disciplina
ry\\asdfasdf\.docx%3C%2Fquery%3E%3C%2Fdelete%3E&version=2.2&start=0&rows=10&
indent=on> &version=2.2&start=0&rows=10&indent=on



It doesn't throw an error but it doesn't delete the document either.



Does anyone have any suggestions?



Thanks,

Dan



Newb query question

2011-03-09 Thread Daniel Baughman
Is there a way to perform string logic on the key field using a subquery or
some other method.

 

IE. If the left 4 characters of the key are ABCD, then include or exclude
those from the search.

 

Here is the "laymans" pseudo code for what I'm wanting to do:

 

*:* AND LEFT(KEY, 4) <> 'abcd'

 

Anyone know that one?



Evangelism

2010-04-29 Thread Daniel Baughman
Hi I'm new to the list here,

 

I'd like to steer someone in the direction of Solr, and I see the list of
companies using solr, but none have a "power by solr" logo or anything.

 

Does anyone have any great links with evidence to majorly successful solr
projects?

 

Thanks in advance,

 

Dan B.

 



RE: Evangelism

2010-04-29 Thread Daniel Baughman
ColdFusion 9 is now shipping with it, as well.

Thanks everyone for the inputs.

-Original Message-
From: Grant Ingersoll [mailto:gsi...@gmail.com] On Behalf Of Grant Ingersoll
Sent: Thursday, April 29, 2010 1:35 PM
To: solr-user@lucene.apache.org
Subject: Re: Evangelism

Hi Daniel,

There are lots of sites running Solr ranging from very large to very small.
Because it is open source, people aren't required to report, but there are
several places where people have reported:

http://wiki.apache.org/solr/PublicServers
http://www.lucidimagination.com/developer/Community/Application-Showcase-Wik
i
You can also see a number of case studies at:
http://www.lucidimagination.com/solutions/documents

>From those lists, you'll see recognizable names like AT&T, StubHub, CNET,
Digg, MTV/Viacom, The Motley Fool, Disney, Netflix, etc.

Hope that helps,
Grant


On Apr 29, 2010, at 2:10 PM, Daniel Baughman wrote:

> Hi I'm new to the list here,
> 
> 
> 
> I'd like to steer someone in the direction of Solr, and I see the list of
> companies using solr, but none have a "power by solr" logo or anything.
> 
> 
> 
> Does anyone have any great links with evidence to majorly successful solr
> projects?
> 
> 
> 
> Thanks in advance,
> 
> 
> 
> Dan B.
> 
> 
> 

--
Grant Ingersoll
http://www.lucidimagination.com/

Search the Lucene ecosystem using Solr/Lucene:
http://www.lucidimagination.com/search