ADD: New feature CHG: Change to existing feature BUG: Bug fix Please add all changes to the top of this file! ~ The management Please also notify the project coordinator letting him know what changes are in: Chris Welch (chris.welch@marklogic.com) Version 3.2-2007-12-13.1 ADD: Added search:search-count(), which will return an accurate count of the results. ADD: Added search:search-results() overload that will return all search results. ADD: User can pass a element defining a custom sort with the search criteria. ADD: User can pass a element with the search criteria to define a custom search-path. ADD: A basic parser is included to supplement the Google-like parser. The parser can be changed with the attribute. Version 3.2-2007-11-20.1 CHG: Changed lib-search-custom to encourage ease of use, and rapid development cycles. BUG: Fixed bug that would not allow undefined namespace elements in and . Version 3.2-2007-08-22.1 ADD: Performed XQuery injection testing on user-enterable elements. CHG: Minor namespace check to lib-parser's deserialize-query function. BUG: Fixed XQuery injection vulnerability with fn:expanded-QName values (e.g. and ) Version 3.2-2007-08-03.1 BUG: Fixed bug related to no element in the config file. Version 3.2-2007-06-25.2 ADD: Added the ability to configure a collation to be used during facet resolution. CHG: search:field has been replace by search:element and search:element-attr. CHG: search:field-id has been renamed to search:scope-id. Version 3.2-2007-06-19.1 ADD: Added compatibility check function that will notify developers if their search-criteria or configuration is out of date. ADD: User can enter an arbitrary base search into the configuration file. ADD: Added support for cts:query elements in the search-criteria element. ADD: Added support for operators to be placed around multiple term criteria. CHG: Multiple search:directories can be entered into the search-criteria CHG: cfg:search/cfg:exec-prolog has been replaced by cfg:search/cfg:namespaces CHG: cfg:search/cfg:lefthand-path has been renamed to cfg:search/cfg:search-path CHG: search:search-criteria/search:field-values has been renamed to search:search-criteria/search:values CHG: search:field-facet has been renamed to search:value-facet CHG: cfg:search/cfg:search-dirs has been replaced by cfg:search/cfg:base-criteria CHG: Multiple search:date-range criteria can be entered into the search-criteria. CHG: When debug is enabled, the full search string will be logged. Version 3.2-2007-06-07.1 CHG: Changed namespace of lib-parser from "http://www.marklogic.com/ps/lib/lib-mlps" to "http://www.marklogic.com/ps/lib/lib-parser". Changed prefix from "mlps" to "lp". Version 3.2-2007-05-04.1 ADD: Added support for element-attribute field-value criteria. ADD: Added support for element-attribute field facets. ADD: Field and collection set facets support an optional search:top element to restrict the number of returned items. ADD: Trailing date facets support an optional @desc attribute to be used as the text of an item. CHG: Field and collection set facets use frequency to compute counts. CHG: Date ranges work off of cts:range-query instead of XPath predicates. CHG: Disabled summarization until it can be made more generic. CHG: Simplified output of parsed cts:query. BUG: search:field-id is supported for the cfg:day-group-field. BUG: Fixed non-matching when disparity in base-date existance or empty in transform-trailing-date-facet-query. CODE BRANCH - FROM 3.1 Version 3.1-2007-04-30.1 ADD: Added support for multiple fields in the term criteria. CHG: ID resolution can accept multiple nodes. Version 3.1-2007-03-30.1 BUG: Fixed null search-string issue, when performing an empty search. BUG: Fixed build-cts-search-string issue in returning searches with no cts:query values. Version 3.1-2007-03-26.1 ADD: Fast pagination can be enabled by setting the fast-pagination attribute on the search-criteria element. BUG: Fixed bug in name resolution where if a match was not found, the name was set to empty, instead of the value. Version 3.1-2007-03-23.1 ADD: lib-parser is now under the auspices of the lib-search project! CHG: lib-search now points to lib-parser instead of requiring lib-mlps. CHG: search:total-time is now calculated from the $search:start-time and not the start of the query execution. CHG: search:search-term changed to search:term and search:term changed to search:text Version 3.1-2007-03-15.1 ADD: lib-search is released!