5 Jun 2003 14:25
Re: Fulltext indexing and selective indexation ( WAS Re: store arrays of numbers efficiently)
Wolfgang Meier <meier <at> ifs.tu-darmstadt.de>
2003-06-05 12:25:51 GMT
2003-06-05 12:25:51 GMT
> I appreciate that this is part of a remedy for a previously unresolved > issue, namely that if > (a) selective indexing had been configured for a given doctype and > (b) a fulltext index operator was used in a query, > that query would fail if the search terms had been excluded by the > selective indexing. I can see that this behaviour was unintended and in the > general case undesirable, and it needed altering to the current CVS > behaviour, which in such cases now falls back on searching the actual nodes > if the fulltext index search fails. There seems to be some misunderstanding here: the CVS changes do not apply to any of the fulltext operators. They will still fail if an element has been excluded from the fulltext index. You should thus see the same behaviour as before - unless there's a new bug in the code. The changes just apply to exact string comparisons, i.e. in equality expressions (=), and functions contains(), starts-with(), ends-with(). The implementation will first check the fulltext index, then fall back to a sequential scan. Wolfgang ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.
RSS Feed