lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Thomsen <mikerthom...@gmail.com>
Subject Re: Can this regex be done?
Date Wed, 02 Sep 2009 23:52:55 GMT
Because some of the queries that I have to convert (without modifying
them, unfortunately) have a half literally a page of statements
expressed like that that, if expanded, would equal a several page long
lucene query.

On Wed, Sep 2, 2009 at 6:42 PM, Luis Alves<lafadev@gmail.com> wrote:
> Why can't you use a OR? gotham OR gothic
>>
>> Is it possible to translate this sort of Perl regex into a lucene query:
>>
>> /goth(am|ic)/
>>
>> Where the only results that would be returned would be gotham or gothic?
>>
>> Thanks,
>>
>> Mike
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>>
>
>
> --
> -Lafa
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message