Update jdodtd for persistent property support from

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: have score 1.0, so all document scores are divided by the highest score. (Assuming the highest score was>1.0) However, for MultiSearcher and ParallelMultiSearcher, this normalization factor is applied *per index*, before merging the results together (the merge itself is ok though). An example: if you use Hits hits=multiSearcher.search(query, Sort.RELEVANCE); for a MultiSearcher with two subsearchers, the first document will have score 1.0. The next documents from the same subsearcher will have decreasing scores. The first document from the other subsearcher will however have score 1.0 again ! The same applies for other Sort objects, but it is less visible. I will post a TestCase demonstrating the problem and suggested patches to solve it in a moment... StringIndexOutOfBoundsException on bad record Don't parse bad records. Geronimo schema validation errors When feeding the geronimo schemas through validators the following validation errors occur... geronimo-connector-1.0.xsd -------------------------- line 387 s4s-elt-invalid-content.1: The content of 'descriptionType' is invalid. Element 'attribute' is invalid, misplaced, or occurs too often. line 387 src-resolve.4.2: Error resolving component 'xml:lang'. It was detected that 'xml:lang' is in namespace 'http://www.w3.org/XML/1998/namespace', but components from this namespace are not referenceable from schema document 'geronimo-connector-1.0.xsd'. If this is the incorrect namespace, perhaps the prefix of 'xml:lang' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'geronimo-connector-1.0.xsd'. geronimo-security-1.0.xsd ------------------------- line 77 s4s-elt-invalid-content.1: The content of 'descriptionType' is invalid. Element 'attribute' is invalid, misplaced, or occurs too often. line 77 src-resolve.4.2: Error resolving component 'xml:lang'. It was detected that 'xml:lang' is in namespace 'http://www.w3.org/XML/1998/namespace', but components from this namespace are not referenceable from schema document 'geronimo-security-1.0.xsd...
View Full Document

Ask a homework question - tutors are online