t; http://lucene.472066.n3.nabble.com/Solr-4-2-Regular-expression-returning-only-matched-substring-tp4086868p4086944.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
>
> ----------
> If you reply to this email, your message will be
Ah, OK. Nothing springs to mind. Even faceting on the individual values
of the field counts _documents_ that match, but doesn't give you
which particular values matched. I suppose that in that case you could
run your regex over the returned labels for the facets.
But that's a really ugly solution.
hi Erick,
Appreciate your reply. Facet.query will give count of matches not the count
of unique pattern matches.
if i give regular expression [0-9]{3} to match a 3 digit number it will
return total occurrences of three digit numbers, but i want to know
occurrences of unique 3 numbers. lets say i
You can facet by arbitrary query, does that work? See facet.query...
Best
Erick
On Tue, Aug 27, 2013 at 2:31 PM, Jai wrote:
> Hi,
>
> is it possible to get only the matched substring of a text/string type
> field in response.
> i am trying to search with regular expression and do facet on dif
Hi,
is it possible to get only the matched substring of a text/string type
field in response.
i am trying to search with regular expression and do facet on different
strings (substring of the field) that matches this regular expression.
For example if i write a regular expression to match email,