Yes, it works for me too. But many times result is not as expected. Is there 
some guide on use of regex in solr?

-----Original Message-----
From: Oussama Jilal [mailto:jilal.ouss...@gmail.com] 
Sent: Wednesday, May 22, 2013 4:00 PM
To: solr-user@lucene.apache.org
Subject: Re: Regular expression in solr

I don't think so, it always worked for me without anything special, just try it 
and see :)

On 05/22/2013 11:26 AM, Sagar Chaturvedi wrote:
> @Oussama Thank you for your reply. Is it as simple as that? I mean no 
> additional settings required?
>
> -----Original Message-----
> From: Oussama Jilal [mailto:jilal.ouss...@gmail.com]
> Sent: Wednesday, May 22, 2013 3:37 PM
> To: solr-user@lucene.apache.org
> Subject: Re: Regular expression in solr
>
> You can write a regular expression query like this (you need to specify the 
> regex between slashes / ) :
>
> fieldName:/[rR]egular.*/
>
> On 05/22/2013 10:51 AM, Sagar Chaturvedi wrote:
>> Hi,
>>
>> How do we search based upon regular expressions in solr?
>>
>> Regards,
>> Sagar
>>
>>
>>
>> DISCLAIMER:
>> ---------------------------------------------------------------------
>> -
>> -------------------------------------------------
>> The contents of this e-mail and any attachment(s) are confidential 
>> and intended for the named recipient(s) only.
>> It shall not attach any liability on the originator or NEC or its 
>> affiliates. Any views or opinions presented in this email are solely 
>> those of the author and may not necessarily reflect the opinions of 
>> NEC or its affiliates.
>> Any form of reproduction, dissemination, copying, disclosure, 
>> modification, distribution and / or publication of this message 
>> without the prior written consent of the author of this e-mail is 
>> strictly prohibited. If you have received this email in error please 
>> delete it and notify the sender immediately. .
>> ---------------------------------------------------------------------
>> -
>> -------------------------------------------------
>
>
>
> DISCLAIMER:
> ----------------------------------------------------------------------
> -------------------------------------------------
> The contents of this e-mail and any attachment(s) are confidential and 
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or NEC or its 
> affiliates. Any views or opinions presented in this email are solely 
> those of the author and may not necessarily reflect the opinions of 
> NEC or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, 
> modification, distribution and / or publication of this message 
> without the prior written consent of the author of this e-mail is 
> strictly prohibited. If you have received this email in error please 
> delete it and notify the sender immediately. .
> ----------------------------------------------------------------------
> -------------------------------------------------




DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only. 
It shall not attach any liability on the originator or NEC or its
affiliates. Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the
opinions of NEC or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have 
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------

Reply via email to