Search API updates. FTS fixes for range and dual tokenisation.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14419 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2009-05-22 14:36:48 +00:00
parent 373c26db78
commit 7c934abbe4
55 changed files with 5625 additions and 3905 deletions

View File

@@ -62,27 +62,6 @@ public interface SearchService
//public static final String LANGUAGE_SQL_ALFTRESCO = "sql-alfresco";
/**
* Search against a store.
*
* @param store -
* the store against which to search
* @param language -
* the query language
* @param query -
* the query string - which may include parameters
* @param attributePaths -
* explicit list of attributes/properties to extract for the
* selected nodes in xpath style syntax
* @param queryParameterDefinition -
* query parameter definitions - the default value is used for
* the value.
* @return Returns the query results
*/
@Auditable(key = Auditable.Key.ARG_0, parameters = {"store", "language", "query", "attributePaths", "queryParameterDefinitions"})
public ResultSet query(StoreRef store, String language, String query, Path[] attributePaths,
QueryParameterDefinition[] queryParameterDefinitions);
/**
* Search against a store. Pulls back all attributes on each node. Does not
* allow parameterisation.
@@ -116,23 +95,7 @@ public interface SearchService
public ResultSet query(StoreRef store, String language, String query,
QueryParameterDefinition[] queryParameterDefintions);
/**
* Search against a store.
*
* @param store -
* the store against which to search
* @param language -
* the query language
* @param query -
* the query string - which may include parameters
* @param attributePaths -
* explicit list of attributes/properties to extract for the
* selected nodes in xpath style syntax
* @return Returns the query results
*/
@Auditable(key = Auditable.Key.ARG_0, parameters = {"store", "language", "query", "attributePaths"})
public ResultSet query(StoreRef store, String language, String query, Path[] attributePaths);
/**
* Execute a canned query
*