if you really want #3 and #4 to show up, then have two fields: one using
whitespace tokenizer, one using keyword tokenizer; both using
EdgeNGramFilter ... boost the query to the first field higher then the
second field (or just rely on the coordFactor and the fact that "ca" will
match on both
: How can I boost words where the whole value (not just the token) is closer to
: the front of the value? That is, I want 'ca' to return:
: 1. Canon PowerShot
: 2. Canon EX PIXMA
: 3. iPod Cable
: 4. Video Card
: (actually 1&2 could be swapped)
i would argue that you don't want #3 and #4 at
The prefix query work fine with EdgeNGramFilterFactory, but I'm still
not sure how to get the sorting to work.
I'm using:
maxGramSize="20"/>
If you have any ideas on the sorting, let me know!
Matthew Runo wrote:
Hello! Were you able to find out anythin
Hello! Were you able to find out anything? I'd be interested to know
what you found out.
++
| Matthew Runo
| Zappos Development
| [EMAIL PROTECTED]
| 702-943-7833
++
On Sep 15,
Hello-
I'm building an interface where I need to display matching options as a
user types into a search box. Something like google suggest, but it
needs to be a little more flexible in its matches.
It first glance, I thought I just needed to write a filter that chunks
each token into a set