Author: ts Date: Fri Feb 15 11:50:56 2008 New Revision: 7380 Log: - Typos.
Modified: experimental/Search/design/design.txt Modified: experimental/Search/design/design.txt ============================================================================== --- experimental/Search/design/design.txt [iso-8859-1] (original) +++ experimental/Search/design/design.txt [iso-8859-1] Fri Feb 15 11:50:56 2008 @@ -12,13 +12,13 @@ The search component provides an interface to allow for multiple search backends. For this to work, abstraction on several levels is required. First of -all, the definition of documentation fields; and secondly the search query -syntax. The logic is very similar to that of PersistentObject, where a mapping -is made between class properties and database fields. For search a mapping is -needed between class properties and search index fields. Finding persistent -objects is done through the Database's component SQL abstraction to allow for -multiple SQL dialects. The Search component requires something as well to allow -for different search query dialects, similarly to what the Database component +all, the definition of document fields; and secondly the search query syntax. +The logic is very similar to that of PersistentObject, where a mapping is made +between class properties and database fields. For search a mapping is needed +between class properties and search index fields. Finding persistent objects is +done through the Database's component SQL abstraction to allow for multiple SQL +dialects. The Search component requires something as well to allow for +different search query dialects, similarly to what the Database component provides. Therefore the use of the search component will mostly be modeled after the design of the Database and PersistentObject components. @@ -31,8 +31,8 @@ ezcSearchSession is the main runtime interface for indexing and searching documents. Documents can be indexed calling index(), and searching for -documents is done through find(). Unlike with the Persistent Object component, -find does not simply return an array of objects for each of the found +documents is done through find(). Unlike with the PersistentObject component, +find() does not simply return an array of objects for each of the found documents. Instead it returns an ezcSearchResult object containing information about the search result. The find() method accepts as parameter an object of class ezcSearchFindQuery (or one of it's children). This query object is created by -- svn-components mailing list svn-components@lists.ez.no http://lists.ez.no/mailman/listinfo/svn-components