[Dev] Chandler Query Proposal 0.1
vajda at osafoundation.org
Tue Feb 24 00:04:05 PST 2004
> Right now the model is that indexing is done independently of querying
> and that the query system will know which indexes exist at any given
> moment and be clever enough to use them when they are present. It may
> also turn out to be beneficial to build indices based on repeated runs
> of particular queries. If you really feel that you need to control
> which indices are to be used for a particular query, then we could
> probably add an API that allows you to hint that a particular access
> method (index) be used against a particular reference collection.
You do have a lot of control over what these indexes are by setting up the
corresponding ref collections in the schema. By having meaningful collections
to start with you save yourself from looking in the entire repository.
Even if dbxml indexes give you ways to rapidly match against literal values,
kinds and the like, ref collections are the key to restricting the sets being
sought to start with.
> > What is this syntax for doing Lucene fulltext indexing, where extra
> > arguments like distance between words, or maybe language needs to be
> > specified?
A good starting point would be the lucene syntax itself:
More information about the Dev