lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Sh <peshash...@gmail.com>
Subject Re: Can I use RegEx function?
Date Mon, 23 Jul 2018 08:26:01 GMT
can it be used in facets?

On Mon, Jul 23, 2018, 11:24 Markus Jelsma <markus.jelsma@openindex.io>
wrote:

> Hello,
>
> It is not really obvious in documentation, but the standard query parser
> supports regular expressions. Encapsulate your regex with forward slashes
> /, q=field:/[a-z]+$/ will work.
>
> Regards,
> Markus
>
>
>
> -----Original message-----
> > From:Peter Sh <peshashulc@gmail.com>
> > Sent: Monday 23rd July 2018 10:09
> > To: solr-user@lucene.apache.org
> > Subject: Can I use RegEx function?
> >
> > I've got collection with a string or text field storing free-text. I'd
> like
> > to use some RexEx function looking for patterns like "KEY:VALUE" from the
> > text and use it for filtering and faceting.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message