Details
-
Bug
-
Status: Reopened
-
Minor
-
Resolution: Unresolved
-
2.1.8
-
None
-
None
-
Operating System: Linux
Platform: PC
-
25934
-
Patch available
Description
cocoon-2.1/src/blocks/lucene/java/org/apache/cocoon/components/search/LuceneIndexContentHandler.java
produces something like a "Character Large Object", because the text from all
XML-elements is concatenated without whitespaces between them:
<list><item>Foo</item><item>Bar</item></list> gets indexed as "FooBar", which
makes searching very hard. Adding a blank after an element might solve this
"problem", but might be wrong for other cases (but I don't know any at the moment)
produces something like a "Character Large Object", because the text from all
XML-elements is concatenated without whitespaces between them:
<list><item>Foo</item><item>Bar</item></list> gets indexed as "FooBar", which
makes searching very hard. Adding a blank after an element might solve this
"problem", but might be wrong for other cases (but I don't know any at the moment)