Hi Jack;

My sentence delimiter is not one character; it is *|*  How to write a regex
for it?


2014-04-08 8:06 GMT+03:00 Jack Krupansky <j...@basetechnology.com>:

> The regex pattern should match the text of the fragment. IOW, exclude
> whatever delimiters are not allowed in the fragment.
>
> The default is:
>
> [-\w ,\n"']{20,200}
>
> -- Jack Krupansky
>
> -----Original Message----- From: Furkan KAMACI
> Sent: Monday, April 7, 2014 10:21 AM
> To: solr-user@lucene.apache.org
> Subject: Regex For *|* at hl.regex.pattern
>
>
> Hi;
>
> I try that but it does not work do I miss anything:
>
> q=portu&hl.regex.pattern=.*\*\|\*.*&hl.fragsize=120&hl.regex.slop=0.2
>
> My aim is to check whether it includes *|* or not (that's why I've put .*
> beginning and end of the regex to achieve whatever you match)
>
> How to fix it?
>
> Thanks;
> Furkan KAMACI
>

Reply via email to