Author: Alexandr Efimov Email: [EMAIL PROTECTED] Message: May be it is the problem with perl interface for Mnogosearch? For example:
my $search = new Mnogosearch('DBAddr' => ..., 'DBMode' => 'crc-multi', LocalCharset=>'windows-1251', Ispellmode=>'text', Affix=>{'en'=>'/usr/dict/en.aff', 'ru'=>'/usr/dict/ru.aff'}, Spell=>{'en'=>'/usr/dict/en', 'ru'=>'/usr/dict/ru'}); $search->query(query => $args{search_word}, mode => 'all', sort => 'rate', wf => '08420', ps => 100 ); my @result=$search->records; I tried to not specify wf at all, '01110', '01100'. That value is correctly used to determine which parts of the document should be used for search, (for '01100' it searches in Title or Keyword, for '01110','08420' or if wf is not specified at all, it uses Title, Keywords and Body) but the problem is that records in the @result are not sorted, and 'rating' for each record is always equal to the number of words in the query. Reply: <http://www.mnogosearch.org/board/message.php?id=3327> ___________________________________________ If you want to unsubscribe send "unsubscribe general" to [EMAIL PROTECTED]