Hello Maxime,

Saturday, January 05, 2002, 6:05:26 PM, you wrote:

MZ> Hi,

MZ> Can you supply your config files indexer.conf, searchd.conf, search.htm 
MZ> entire (without passwords of course) ?

MZ> What searchd log says when you do search queries ?

While I gather the logs and configs I found out something new.

With ispell dictionaries searchd expands word to its possible
word-forms. Then the match mode is "All" I receive null result.
But if match mode "Bool" or "Any" the searching is performed
correctly (at least for single word).

I think I don't understand this behavior, because it is expected
that each word in search request transformed to a logical expression
word := ( word1 OR word2 OR word-n ...).

In "All" mode  I suppose we get
word := ( word1 AND word2 AND word-n ...)
which sure gives empty result.

May I use as a workaround this recipe: set search form default to
match "Bool" mode and put queries as usual?

-- Anton                            mailto:[EMAIL PROTECTED]

P.S. Why not to realize this quite trivial solution:
If A and B are words, and a query looks like "A B",
the search engine expends each word:
query := "A B"
A := (A-s OR A-er OR A-ing ...)
B := (B-s OR B-er OR B-ing ...)
Finally we got:
expended_query:= "((A-s OR A-er OR A-ing ...) AND (B-s OR B-er OR B-ing ...))"

I think this is suit for "All" match mode too!


___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to