Re: Problem escaping question marks

2010-11-04 Thread Robert Muir
On Thu, Nov 4, 2010 at 4:58 PM, Stephen Powis wrote: > What is the likelihood of this being included in the next release/bug fix > version of Solr? In this case, not likely. It will have to wait for Solr 4.0 > Are there docs available online with basic information > about rolling our own build o

Re: Problem escaping question marks

2010-11-04 Thread Jonathan Rochkind
Wildcard queries, especially a wildcard query with a wildcard both _before_ and _after_, are going to be fairly slow for Solr to process, anyhow. (In fact, for some reason I thought wildcards weren't even supported both before and after, just one or the other). Still, it's a bug in lucene, it

Re: Problem escaping question marks

2010-11-04 Thread Stephen Powis
Looking at the JIRA issue, looks like there's been a new patch related to this. This is good news! We've re-written a portion of our web app to use Solr instead of mysql. This part of our app allows clients to construct rules to match data within their account, and automatically apply actions to

Re: Problem escaping question marks

2010-11-04 Thread Robert Muir
On Thu, Nov 4, 2010 at 1:44 AM, Stephen Powis wrote: > I want to return any first name with a Question Mark in it > Query: first_name: *\?* > There is no way to escape the metacharacters * or ? for a wildcard query (regardless of queryparser, even if you write your own). See https://issues.apache

Re: Problem escaping question marks

2010-11-04 Thread Jean-Sebastien Vachon
Have you tried encoding it with %3F? firstname:*%3F* On 2010-11-04, at 1:44 AM, Stephen Powis wrote: > I'm having difficulty properly escaping ? in my search queries. It seems as > tho it matches any character. > > Some info, a simplified schema and query to explain the issue I'm having. > I'm

Problem escaping question marks

2010-11-03 Thread Stephen Powis
I'm having difficulty properly escaping ? in my search queries. It seems as tho it matches any character. Some info, a simplified schema and query to explain the issue I'm having. I'm currently running solr1.4.1 Schema: I want to return any first name with a Question Mark in it Query: first_