d 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
&g
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 i
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
One more question: does that regex works on analyzed field or raw data?
2014-04-07 19:21 GMT+03:00 Furkan KAMACI :
> 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 *|
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 KA