RE: Solr regex query help

2015-01-24 Thread Arumugam, Suresh
...@gmail.com] Sent: Friday, January 23, 2015 9:57 PM To: solr-user@lucene.apache.org Subject: Re: Solr regex query help Right. As I mentioned on the original JIRA, the regex match is happening on _terms_. You are conflating the original input (the entire field) with the individual terms that the regex is

Re: Solr regex query help

2015-01-24 Thread Erik Hatcher
If you make your field type "string" the regex may work as expected. But as others said, splitting into separate fields is likely more flexible. Erik > On Jan 23, 2015, at 23:58, Arumugam, Suresh wrote: > > Hi All, > > We have indexed the documents to Solr & not able to query using t

Re: Solr regex query help

2015-01-24 Thread Jack Krupansky
When I first read your post I thought this example had something to do with "pipe", but now I realize that "::PIPE::" is simply a symbolic representation of what we software people call a "pipe", namely the vertical bar character used as a field separator. Usually, terms and tokens are all of the s

Re: Solr regex query help

2015-01-23 Thread Erick Erickson
Right. As I mentioned on the original JIRA, the regex match is happening on _terms_. You are conflating the original input (the entire field) with the individual terms that the regex is applied to. I suggest that you look at the admin/analysis page. There you'll see the terms that are indexed and

Solr regex query help

2015-01-23 Thread Arumugam, Suresh
Hi All, We have indexed the documents to Solr & not able to query using the Regex. Our data looks like as below in a Text Field, which is indexed using the ClassicTokenizer. 1b ::PIPE:: 04/14/2014 ::PIPE:: 01:32:48 ::PIPE:: BMC Power/Reset action ::PIPE:: Delayed shutdown time