lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Park <jackp...@topicquests.org>
Subject Re: Indexing URLs in Solr?
Date Thu, 07 Nov 2013 18:07:38 GMT
Spoke too soon. Hacking rocks!
Finally landed on this heuristic, and it works:

resourceURL:"http://someotherserver.org/"

On Thu, Nov 7, 2013 at 9:52 AM, Jack Park <jackpark@topicquests.org> wrote:
> Figuring out a google query to gain an answer seems difficult given
> the ambiguity;
>
> I have a field:
>
> <field name="resourceURL" type="string" indexed="true" stored="true"/>
>
> into which I store a URL
>
> which, when displayed as a result of a query, looks like this in the
> admin console:
>
> "resourceURL": "http://someotherserver.org/",
>
> The query "resourceURL:*" will find all of them, but there is this question:
>
> What does the query look like to find that specific URL?
>
> Of course, "resourceURL:http://someotherserver.org/" doesn't work
>
> This one
> resourceURL=http%3A%2F%2Fsomeotherserver.org%2F
>
> fails as well.
>
> What am I overlooking?
>
> Many thanks in advance.
> Jack

Mime
View raw message