more classification bugs

pull/1/head
Michael Peter Christen 13 years ago
parent 4298f00d2d
commit c6558cba08

@ -587,7 +587,9 @@ public final class RWIProcess extends Thread
}
// check content domain
if (page.url().getContentDomain() != Classification.ContentDomain.ALL && page.url().getContentDomain() != this.query.contentdom) {
if (this.query.contentdom != Classification.ContentDomain.ALL &&
page.url().getContentDomain() != Classification.ContentDomain.ALL &&
page.url().getContentDomain() != this.query.contentdom) {
this.sortout++;
continue;
}

@ -584,7 +584,7 @@ public class SnippetProcess {
}
// load snippet
if (page.url().getContentDomain() == Classification.ContentDomain.TEXT) {
if (page.url().getContentDomain() == Classification.ContentDomain.TEXT || page.url().getContentDomain() == Classification.ContentDomain.ALL) {
// attach text snippet
startTime = System.currentTimeMillis();
final TextSnippet snippet = new TextSnippet(

Loading…
Cancel
Save