Re: Regex For *|* at hl.regex.pattern

2014-04-12 Thread Furkan KAMACI
Hi; I could find a way to achieve it when I debugged the source code. Defining a delimiter and indexing it as an individual token is the first step. Writing a regex that "matches" for given delimiter is the next step. Last step is defining the slop size. When you have a big slop size you get the w

Re: Regex For *|* at hl.regex.pattern

2014-04-08 Thread Furkan KAMACI
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 : > 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

Re: Regex For *|* at hl.regex.pattern

2014-04-07 Thread Jack Krupansky
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.or

Re: Regex For *|* at hl.regex.pattern

2014-04-07 Thread Furkan KAMACI
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 *|