[
https://issues.apache.org/jira/browse/SOLR-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Otis Gospodnetic resolved SOLR-1250.
------------------------------------
Resolution: Invalid
Please ask on solr-user list.
> Seach the words having ampersand (&) symbol
> -------------------------------------------
>
> Key: SOLR-1250
> URL: https://issues.apache.org/jira/browse/SOLR-1250
> Project: Solr
> Issue Type: Task
> Components: search
> Affects Versions: 1.3
> Environment: Linux
> Reporter: Secpath
> Fix For: 1.3
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> I am indexing titles in my index.My titles can also have special characters
> like (+ - && || ! ( ) { } [ ] ^ " ~ * ? : \)
> When i am querieing the index to search with the matching titles , I am using
> the escape sequence '\'
> as per the doc http://lucene.apache.org/java/2_3_2/queryparsersyntax.html
> It looks fine for most the case except for when the title consists of the
> character '&' or '&&'
> The query I used to search the index is as below in normal cases...
> http://myurl/solr/mdrs/select/?q=title:someTitle
> How do I search my index to get the titles like "jakarta & apache"
> I tried by giving the below query
> http://myurl/solr/mdrs/select/?q=title:jakarta & apache
> http://myurl/solr/mdrs/select/?q=title:"jakarta & apache"
> http://myurl/solr/mdrs/select/?q=title:jakarta \& apache
> http://myurl/solr/mdrs/select/?q=title:"jakarta \& apache"
> Each of the above queries are giving errors... Unable to search my title
> "jakarta & apache"
> Please let me know how can i search the words having ampersand (&) character
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.