lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veena rani <veenara...@gmail.com>
Subject Re: Is there any special meaning for # symbol in solr.
Date Tue, 04 Sep 2012 04:56:46 GMT
if i use this link ,http://localhost:8080/solr/select?&q=(techskill%3Ac%23)
, solr is going to display techskill:c result.
But i want to display only techskill:c#  result.


On Mon, Sep 3, 2012 at 7:23 PM, Toke Eskildsen <te@statsbiblioteket.dk>wrote:

> On Mon, 2012-09-03 at 13:39 +0200, veena rani wrote:
> > >  I have an issue with the # symbol, in solr,
> > >  I m trying to search for string ends up with # , Eg:c#, it is throwing
> > >  error Like, org.apache.lucene.queryparser.classic.ParseException:
> Cannot
> > >  parse '(techskill:c': Encountered "<EOF>" at line 1, column 12.
>
> Solr only received '(techskill:c', which has unbalanced parentheses.
> My guess is that you do not perform a URL-encode of '#' and that you
> were sending something like
> http://localhost:8080/solr/select?&q=(techskill:c#)
> when you should have been sending
> http://localhost:8080/solr/select?&q=(techskill%3Ac%23)
>
>


-- 
Regards,
Veena.
Banglore.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message