Displaying 1 result from an estimated 1 matches for "jsontext".
Did you mean:
jscontext
2012 Jun 04
1
Search not finding queries with stop words.
...oreach my $word (@ar) {
$stopper->add($word);
}
...
my $doc = Search::Xapian::Document->new();
my $indexer = Search::Xapian::TermGenerator->new();
my $stemmer = Search::Xapian::Stem->new('english');
$doc->set_data($jsonText);
$indexer->set_stemmer($stemmer);
$indexer->set_stopper($stopper);
$indexer->set_document($doc);
$indexer->index_text($docBody);
$indexer->increase_termpos();
$indexer->index_text($subject);
... (other...