synonym expansion for boolean prefixes.
David Bremner
david at tethera.net
Sat Jan 9 11:59:09 GMT 2016
Olly Betts <olly at survex.com> writes:
> On Tue, Jan 05, 2016 at 08:43:13AM -0400, David Bremner wrote:
>> Olly Betts <olly at survex.com> writes:
>>
>> > To achieve this with synonyms in a configurable way you'd need to
>> > rewrite the synonyms in the database to match the current configuration,
>> > so it's not as dynamic as the above.
>>
>> Well, the configuration needs to be somewhere. Would it make sense to
>> from a performance point of view to be looking up foo_tag_term in
>> document metadata?
>
> Calling get_metadata() is pretty much exactly equivalent to reading the
> synonyms for a term - both read one Btree entry, just from different
> tables.
Just this morning I realized any lookup would happen during query parsing,
which seems pretty unlikely to be a bottleneck.
d
More information about the Xapian-discuss
mailing list