Reputation: 777
We have a field "url" with a link in it.
For example:
https://www.domain.de/g/t/h-zu-b
I need to find all documents with a specific domain.
For example:
https://www.foo.bar ...
So in my database mind I would perform a LIKE-Query to achieve that. but in the context of Solr I'm pretty lost and would be very interested in how that would work?
Upvotes: 1
Views: 49
Reputation: 26690
You should be able to emulate the LIKE query via a regular expression, for example:
url:/http\:\/\/www\.foo\.bar.*/
A couple of caveats:
url
field is indexedUpvotes: 1