Re: Solr Dismax query - prefix matching

2010-05-03 Thread Chris Hostetter
: example: If I have a field called 'booktitle' with the actual values as : 'Code Complete', 'Coding standard 101', then I'd like to search for the : query string 'cod' and have the dismax match against both the book : titles since 'cod' is a prefix match for 'code' and 'coding'. it doesn't soun

Re: Solr Dismax query - prefix matching

2010-05-02 Thread Amit Nithian
You should be able to achieve this using ngrams. This article may not be 100% related to what you are trying to do but it may provide some insight on what you can do to support your requirements. http://www.lucidimagination.com/blog/2009/09/08/auto-suggest-from-popular-queries-using-edgengrams/

Re: Solr Dismax query - prefix matching

2010-05-01 Thread Ahmet Arslan
> Folks, > Greetings. > Using dismax query parser is there a way to perform prefix > match. For > example: If I have a field called 'booktitle' with the > actual values as > 'Code Complete', 'Coding standard 101', then I'd like to > search for the > query string 'cod' and have the dismax match ag

Solr Dismax query - prefix matching

2010-04-29 Thread Belagodu, Bharath
Folks, Greetings. Using dismax query parser is there a way to perform prefix match. For example: If I have a field called 'booktitle' with the actual values as 'Code Complete', 'Coding standard 101', then I'd like to search for the query string 'cod' and have the dismax match against both the book

Re: prefix matching

2009-04-23 Thread Grant Ingersoll
Hmm, did some poking around and this conversation rung a bell from the Lucene list see http://www.lucidimagination.com/search/document/3e4ce083206664d2/ngrams_and_positions#3e4ce083206664d2 Looks like Lucene would need to solve LUCENE-1224 and LUCENE-1225. https://issues.apache.org/jira/browse

prefix matching

2009-04-23 Thread Tom Morton
Hi all, I'm trying to use prefixes to match similar strings to a query string. I have the following field type: field: copyField: If I apply this to an indexed string: "ipod shuffle" and query string: "shufle" (missing f) I get mat