: My users require wildcard searches. Sometimes their search phrases contain
: spaces. I am having trouble trying to implement a wildcard search on strings
: containing spaces, so if the term includes spaces I force a literal search
: by adding double quotes to the search term.
: So the search str
Do you require that the words be right next to each other? You can,
of course, set your default to AND (it's OR unless you change it
explicitly). That'll give you documents that have both Dublin and City.
You don't need wildcards at all in this case.
If you require exact matches, you can use Phras
: mick l [mailto:[EMAIL PROTECTED]
Sent: 24 June 2008 14:22
To: java-user@lucene.apache.org
Subject: RE: Wildcard and Literal Searches combined
Cheers,
Out of interest, how did you go about it in the end?
jloken wrote:
>
> Hi,
>
> I posed a similar question on 09 May 08.
>
>
Cheers,
Out of interest, how did you go about it in the end?
jloken wrote:
>
> Hi,
>
> I posed a similar question on 09 May 08.
>
> The response was as below. I did not go down this route however, as a
> wild carded 'exact' phrase is in a way contradictory.
> Regards
> Jon
>
>
>
> Hi,
>
Hi,
I posed a similar question on 09 May 08.
The response was as below. I did not go down this route however, as a
wild carded 'exact' phrase is in a way contradictory.
Regards
Jon
Hi,
Here's a searchable mailing list archive:
http://www.gossamer-threads.com/lists/lucene/java-user/
As re