/[Apache-SVN]
ViewVC logotype

Revision 441667


Jump to revision: Previous Next
Author: mharwood
Date: Fri Sep 8 21:45:14 2006 UTC (18 years, 2 months ago)
Changed paths: 4
Log Message:
Fixed bug where BooleanQueryBuilder.java and BooleanFilterBuilder.java were mistakenly adding all child (and grandchild) clauses to the top node. A call to Element.getElementsByTagName was the offending code - this descends full depth rather than getting only immediate children which is the desired behaviour. Thanks to Jingkei Ly for spotting this bug.

Changed paths

Path Details
Directorylucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanFilterBuilder.java modified , text changed
Directorylucene/java/trunk/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/BooleanQueryBuilder.java modified , text changed
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/NestedBooleanQuery.xml added
Directorylucene/java/trunk/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/TestParser.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26