Re: Wildcard and Literal Searches combined

2008-06-25 Thread Chris Hostetter
: 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

Re: Wildcard and Literal Searches combined

2008-06-24 Thread Erick Erickson
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

RE: Wildcard and Literal Searches combined

2008-06-24 Thread Jon Loken
: 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. > >

RE: Wildcard and Literal Searches combined

2008-06-24 Thread mick l
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, >

RE: Wildcard and Literal Searches combined

2008-06-24 Thread Jon Loken
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