[Xapian-tickets] [Xapian] #608: as_partial_query / as_wildcarded_query and limiting the expansion of terms
Xapian
nobody at xapian.org
Sat May 2 10:41:13 BST 2015
#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.3
Component: QueryParser | Version: SVN trunk
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
-------------------------+------------------------------
Comment (by olly):
I've pushed [11250717e48da2d2c3fa86437c7670a8b8034d8b/git] which provides
a choice of modes for limiting expansion: throw an exception (i.e. the
existing behaviour), just the first N in term sort order, or the most
frequent N terms.
`QueryParser` now uses the latter for partial expansion.
There's one issue - for multidatabases the limit is applied separately for
each subdatabase, which isn't great. `OP_ELITE_SET` has a similar problem
currently too. I think we probably need custom (and slower) handling for
both these cases when multiple databases are involved.
Also, `QueryParser` should probably have separate limits for partial
expansion and wildcards.
--
Ticket URL: <http://trac.xapian.org/ticket/608#comment:9>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list