my bad, using "term query parser" works, thanks ahmet.
> Gesendet: Mittwoch, 12. September 2012 um 19:40 Uhr
> Von: sy...@web.de
> An: solr-user@lucene.apache.org
> Betreff: Aw: Re: Cannot parse ":", using HTTP-URL as id
>
> > term query parser is your
> term query parser is your friend in this case. With this you don't need to
> escape anything.
> SolrQuery query = new SolrQuery();
> query.setQuery("{!term f=id}bar_http://bar.com/?doc=452";);
But how can I *store* a document with an URL as a field value ? E.g.
"domain_http://www.domain.co
Hello,
term query parser is your friend in this case. With this you don't need to
escape anything.
SolrQuery query = new SolrQuery();
query.setQuery("{!term f=id}bar_http://bar.com/?doc=452";);
--- On Wed, 9/12/12, sy...@web.de wrote:
> From: sy...@web.de
> Subject: Cannot parse ":", using