Natalia Shilenkova wrote:
On 10/22/07, Vadim Gritsenko <[EMAIL PROTECTED]> wrote:
For XPath queries that use ftcontains function Xindice will attempt to
optimize the query by using LuceneIndexer, if it is available and has
a suitable pattern. If LuceneIndexer exists for the collection being
queried, even if there is no suitable pattern,
Does it also log this condition? I'd think at INFO level, say that indexer
available but this particular pattern is missing, so that user can check logs
and correct the situation.

This behavior is consistent with queries that may be using other types
of indexers. If query uses starts-with function and there is no value
indexer for that pattern, it will not be reported. Is there any reason
to treat new function differently?

Well I think it depends on how heavy Lucene search is... Ok may be not at INFO, but what about DEBUG level? :)

I personally would like to see at least DEBUG message for the situation with 'starts-with' function, too. And any other like that - were index can speed querying up significantly.

Vadim

Reply via email to