Hi All, I've been looking at the full text indexing patch that was submitted by Andy Armstrong a couple years ago. It uses plain Lucene query syntax to search the indexes.
Full text index (like any other index) has a pattern parameter that determines what elements/attributes are going to be indexed. And it is possible to create several indexes with different patterns. If there are several indexes, which one should be used to execute a query? Existing patch always uses the index with a shortest pattern, but it does not really mean a better match and overall effect is the same as there was only one index, since the only way to use another one is to drop index with the shortest pattern. So the question is, does it make sense to have more than one full text index per collection? If so, how to find out which index is a better match for a particular query (modifying query language to include hints? using field names to find right pattern?), can query be run against multiple indexes? Any ideas? Regards, Natalia