[Egothor-tech] Unknown word
Leo Galambos
Leo.Galambos at egothor.org
Tue May 23 12:51:52 BST 2006
Jemba, Epo wrote:
> Hi,
>
> I sometimes have this message when searching through the web app. I
> type “cohabitation” as key word
>
> * *
>
> *"cohabitation"* is an unknown word and was not included in your search.
>
> But I know “cohabitation” is in my index. What does this message mean?
> How can I prevent it?
>
Hi,
try this patch:
--- src/kernel/org/egothor/query/QTerm.java 2005-07-11
22:57:40.000000000 +0200
+++ src/kernel/org/egothor/query/QTerm.java.new 2006-05-23
13:48:50.000000000 +0200
@@ -231,7 +231,7 @@
if (cwi.defined(tokstr)) {
unknown = false;
double idf_val = cwi.idf(tokstr);
- if ((Configuration.isControlToken(tokstr) == false) && idf_val < 0.01) {
+ if ((Configuration.isControlToken(tokstr) == false)) {
QTerm qt = new QTerm(token, field, idf_val, required, prohibited, boost,
lowerBound, upperBound);
qt.excluded = true;
return qt;
I guess it would help.
Cheers,
Leo
More information about the Egothor-tech
mailing list