*headdesk* Well of course. About the whole URL escaping I totally forgot about the Lucene escaping. Thanks for the tip. Now it works.

Am Sa 08 Sep 2012 16:36:26 CEST schrieb Markus Jelsma:
Special characters must be escaped:
http://lucene.apache.org/core/3_6_1/queryparsersyntax.html#Escaping%20Special%20Characters



-----Original message-----
From:Alaak <[email protected]>
Sent: Sat 08-Sep-2012 15:26
To: [email protected]
Subject: Query SolrIndex for Id

Hi,

I have a problem with the way Nutch (1.6 trunk) stores the pages id to
the Solr (3.6.1) index. It uses the pages URL. However due to special
characters in the URL like ":" or "/" it is impossible to use the URL as
query parameter to access documents on Solr. Of course it is possible to
apply URL encoding, but it seems Solr does not invert the encoding on
Server side and thus is unable to match the queried URL to the URL in
the index. So does anyone know of a way to retrieve documents from a
Nutch created Solr Index by id?

Thanks and Regards

Reply via email to