Subject: | Searching by non-existent index results in segfault. |
After applying patch from ticket 25826, searching by a non-existent
field name results in a segmentation fault:
Parameter error: odd number of args at
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/PhraseQuery.pm
line 116
at
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/PhraseScorer.pm
line 22
KinoSearch::Search::PhraseScorer::new('KinoSearch::Search::PhraseScorer',
'weight', 'KinoSearch::Search::PhraseWeight=HASH(0x9ce2b08)', 'slop', 0,
'similarity', 'KinoSearch::Search::Similarity=SCALAR(0x9ccf5f4)',
'norms_reader', 'term_docs', ...) called at
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/PhraseQuery.pm
line 116
KinoSearch::Search::PhraseWeight::scorer('KinoSearch::Search::PhraseWeight=HASH(0x9ce2b08)',
'KinoSearch::Index::SegReader=HASH(0x9ccf8c4)') called at
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Searcher.pm
line 120
KinoSearch::Searcher::search_hit_collector('KinoSearch::Searcher=HASH(0x9ccf5d0)',
'hit_collector',
'KinoSearch::Search::HitQueueCollector=SCALAR(0x9ce306c)', 'weight',
'KinoSearch::Search::PhraseWeight=HASH(0x9ce2b08)', 'filter', 'undef',
'sort_spec', 'undef', ...) called at
/usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/Hits.pm
line 52
KinoSearch::Search::Hits::seek(3) called at
bin/search-tickets.pl line 35
Segmentation fault