Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
Right you are. I hadn't been known it during index-time On Mon, Jul 23, 2018 at 3:43 PM Erik Hatcher wrote: > this is best done at index-time. (it seems like you're trying to avoid > doing that though) > > > > > On Jul 23, 2018, at 5:36 AM, Peter Sh wrote: >

Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
I want to be able to parse "KEY:VALUE" pairs from my text and have a facet representing distribution of VALUES On Mon, Jul 23, 2018 at 12:25 PM Markus Jelsma wrote: > Hello, > > Neither fl nor facet.field support functions, but facet.query is analogous > to the latter. I do not understand what y

Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
Can I use it in "fl" and "facet.field" as a function On Mon, Jul 23, 2018 at 11:33 AM Markus Jelsma wrote: > Hello, > > The usual faceting works for all queries, facet.query=q:field:/[a-z]+$/ > will probably work too, i would be really surprised if it didn't. Keep in > mind that my example does

Re: Can I use RegEx function?

2018-07-23 Thread Peter Sh
can it be used in facets? On Mon, Jul 23, 2018, 11:24 Markus Jelsma 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 > >

Can I use RegEx function?

2018-07-23 Thread Peter Sh
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.

Streaming Expressions (/stream) StreamHandler java.lang.NullPointerException

2016-06-25 Thread Peter Sh
I've got an exception below running curl --data-urlencode 'expr=search(EventsAndDCF,q="*:*",fl="AccessPath",sort="AccessPath asc",qt="/export")' "http://localhost:8983/solr/EventsAndDCF/stream"; Solr responce: {"result-set":{"docs":[ {"EXCEPTION":null,"EOF":true}]}} My collection EventsAndDCF exi