hi Erick,
Thanks alot for your reply. i am still looking for any feasible solution,
currently i can only think of creating another core having schema with
patterntokenizer class field types, load it and re-index search results on
this temp core.
is there any way to provide list of patterns for to
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