You can facet by arbitrary query, does that work? See facet.query...
Best Erick On Tue, Aug 27, 2013 at 2:31 PM, Jai <jai4l...@gmail.com> 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 different > strings (substring of the field) that matches this regular expression. > > For example if i write a regular expression to match email, is there any > way to return only the matched email from the indexed sentence, so that i > can do facet on it. > > will really appreciate any help. > > thanks and regards > jai >