: 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
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/
> 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
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
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
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