Re: phrase query word delimiting

2009-05-20 Thread Avlesh Singh
Using a NGramTokenizerFactory as an analyzer for your field would help you
achieve the desired.
Here's a nice article -
http://coderrr.wordpress.com/2008/05/08/substring-queries-with-solr-acts_as_solr/

Cheers
Avlesh

On Wed, May 20, 2009 at 11:26 PM, Alex Life av_l...@yahoo.com wrote:


 Hi All,

 Could you please help?

 I have following document
 Super PowerShot SD

 I want this document to be found by phrase queries below (both):
 super powershot sd
 super power shot sd

 Is this possible without sloppy phrase query? (at least theoretical)
 I don't see any way setting term/positions so both queries would be
 successful :-(

 Thanks
 Alex






Re: phrase query word delimiting

2009-05-20 Thread Otis Gospodnetic

Alex,

You might want to paste in your tokenizer/token filter config.  You may also 
want to paste in how you analyzer configuration breaks those phrases and what 
the position of each term is.  This will make it easier for others to 
understand what you have, what doesn't work, and what your options are.

Otis



- Original Message 
 From: Alex Life av_l...@yahoo.com
 To: solr-user@lucene.apache.org
 Sent: Wednesday, May 20, 2009 1:56:36 PM
 Subject: phrase query  word delimiting
 
 
 Hi All,
 
 Could you please help?
 
 I have following document
 Super PowerShot SD
 
 I want this document to be found by phrase queries below (both):
 super powershot sd
 super power shot sd
 
 Is this possible without sloppy phrase query? (at least theoretical)
 I don't see any way setting term/positions so both queries would be 
 successful 
 :-(
 
 Thanks
 Alex