RE: Exact match on string field with special characters

2014-10-06 Thread Michael Ryan
10:49 AM To: solr-user@lucene.apache.org Subject: Re: Exact match on string field with special characters I may have provided too much background story for my question. What I am trying to do at the core here, is an exact match on a single field. I do this programmatically by reading the field v

Re: Exact match on string field with special characters

2014-10-06 Thread tedsolr
Shoot I just noticed the error in my original post which would certainly cause confusion. Instead of query.addFacetField(fq); I meant to write query.setParam("fq", fg); Sorry. -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-match-on-string-field-wi

Re: Exact match on string field with special characters

2014-10-06 Thread tedsolr
replacing double quotes and backslashes. I don't strip special chars because I'm using the facet values for display. This problem may be specific to SolrJ. Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-match-on-string-field-with-special-charact

Re: Exact match on string field with special characters

2014-10-01 Thread Ahmet Arslan
ndex time, but I'd like to avoid munging that data because I'm using the string field for display too! That saves time/searches when aggregating against 10 - 15 fields which takes a whole lot of facet searches to begin with. Using Solr 4.9 -- View this message in context: http:/

RE: Exact match on string field with special characters

2014-10-01 Thread Michael Ryan
ry, you can use org.apache.solr.client.solrj.util.ClientUtils.escapeQueryChars(). -Michael -Original Message- From: tedsolr [mailto:tsm...@sciquest.com] Sent: Wednesday, October 01, 2014 5:33 PM To: solr-user@lucene.apache.org Subject: Exact match on string field with special characters I am trying to do SQL like aggregation (GROU

Exact match on string field with special characters

2014-10-01 Thread tedsolr
s to begin with. Using Solr 4.9 -- View this message in context: http://lucene.472066.n3.nabble.com/Exact-match-on-string-field-with-special-characters-tp4162209.html Sent from the Solr - User mailing list archive at Nabble.com.