[Xapian-tickets] [Xapian] #608: as_partial_query / as_wildcarded_query and limiting the expansion of terms
Xapian
nobody at xapian.org
Thu Nov 29 04:52:02 GMT 2012
#608: as_partial_query / as_wildcarded_query and limiting the expansion of terms
-------------------------+--------------------------------------------------
Reporter: boomboo | Owner: olly
Type: enhancement | Status: assigned
Priority: normal | Milestone: 1.3.2
Component: QueryParser | Version:
Severity: normal | Keywords:
Blockedby: | Platform: All
Blocking: |
-------------------------+--------------------------------------------------
Comment(by boomboo):
No the hit ratio is for the actual term to which the partial 'should'
expand, eg. if my end query is "crocodile dundee" than I expect to get
"dundee" as one of the terms for the partial expansion of "crocodile d".
So we basically took all the queries the users submitted over a time (that
yield results) and checked how high does N need to be so that the last
term is actually expanded to what they looked for.
To test it I compiled a test build that also sorted (sort_heap) the terms
before creating the query and we used a high max_wildcard_expansion, than
parsed out the expanded terms out of get_description() and checked which
place the term the user meant was at.
--
Ticket URL: <http://trac.xapian.org/ticket/608#comment:6>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list