lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roopesh Uniyal <roopesh.uni...@gmail.com>
Subject Re: Issue while searching with escape characters
Date Wed, 06 Dec 2017 09:33:46 GMT
Thanks Jan. It must be a late night. Not sure what I was thinking.

I provided *%5C%28DVeto1%5C%29* but still not able to get the search results

I also have a situation where I have to search something like *(ID#DVeto2)*
and I am providing *%5C%28ID%23DVeto2%5C%2*9 and still not able to get the
resultsets.

Its not throwing any error but no result found in these two scenarios.
Although we know there should be some records.

Am I missing anything?

Thanks!


On Wed, Dec 6, 2017 at 4:13 AM, <
Jan.Christopher.Schluchtmann-EXT@continental-corporation.com> wrote:

> hmm ... it seems, you are using XML/HTML-encoding, but you need
> HTTP-encoding, which looks like this:
>
>
> ␣      !       "       #       $       %       &       '       (       )
> *       +       ,       -       .       /       :       ;       <       =
> >       ?       @       [       \       ]       {       |       }
>
> %20     %21     %22     %23     %24     %25     %26     %27     %28 %29
> %2A     %2B     %2C     %2D     %2E     %2F     %3A     %3B     %3C %3D
> %3E     %3F     %40     %5B     %5C     %5D     %7B     %7C     %7D
>
>
> good luck! :)
>
>
> Mit freundlichen Grüßen/ With kind regards
>
> Jan Schluchtmann
> Systems Engineering Cluster Instruments
> VW Group
> Continental Automotive GmbH
> Division Interior
> ID S3 RM
> VDO-Strasse 1, 64832 Babenhausen, Germany
>
> Telefon/Phone: +49 6073 12-4346
> Telefax: +49 6073 12-79-4346
>
>
>
> Von:    Roopesh Uniyal <roopesh.uniyal@gmail.com>
> An:     solr-user@lucene.apache.org,
> Datum:  06.12.2017 09:57
> Betreff:        Issue while searching with escape characters
>
>
>
> Hello I am searching Solr 6 via http call by providing a "UserID".
>
> Its just that the data is in the format of (DVeto1)
>
> So, in my call I have to provide parenthesis but since its a special
> character I need to provide escape also. Looks like its not working
>
> Provided the search string over http like these but none worked -
>
> &#40;DVeto1&#41;
> &#92;&#40;DVeto1&#92;&#41;
>
> Since this is not working I am sure I am missing something. Will
> appreciate
> your inputs.
>
> Thanks!
>
>
>

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