lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oussama Jilal <jilal.ouss...@gmail.com>
Subject Re: Regular expression in solr
Date Wed, 22 May 2013 10:29:47 GMT
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.oussama@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. .
> -----------------------------------------------------------------------------------------------------------------------


Mime
View raw message