/[Apache-SVN]
ViewVC logotype

Revision 500053


Jump to revision: Previous Next
Author: mharwood
Date: Thu Jan 25 23:31:02 2007 UTC (17 years, 8 months ago)
Changed paths: 5
Log Message:
Added QueryTemplateManager.java to aid construction of XML queries from form input by using XSL templates. A Junit test provides examples of use. This approach offers a convenient way of externalizing and changing how user input is turned into Lucene queries. Database applications often adopt similar practices by externalizing SQL in template files that can be easily changed/optimized by a DBA.  

Changed paths

Path Details
Directorylucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/QueryTemplateManager.java added
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestQueryTemplateManager.java added
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumBooleanQuery.xsl added
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumFilteredQuery.xsl added
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/albumLuceneClassicQuery.xsl added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26