Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.1
-
Component/s: None
-
Labels:None
Description
It looks like the Demo browser shows snippets in clusters is a more or less random order
Had a brief look at the code, but I guess this needs some more serious debugging.
Can you provide an example of this random order? The order should be identical as the addition of documents (their fetch from the source); this is in fact in:
public StringBuffer appendHtmlForDocuments(StringBuffer buffer, Collection documents, boolean resortDocuments) {
if (resortDocuments) { // Re-sort documents according to their addition sequence. final ArrayList docsCopy = new ArrayList(documents); Collections.sort(docsCopy, DOCUMENT_SEQ_COMPARATOR); documents = docsCopy; }
so documents are re-sorted according to their sequential number at the input. Perhaps one of your processes does not include the RawDocumentEnumerator in the pipeline?