Message forwarded to the list at Henry's request. -- Marvin
-----------------------------------------------------------
Hello all,
I'm getting the following error when searching on a field ('site' in
this
case) - or no error at all when performing a phrase search (but not all
phrase searches result in an error):
Error in function refill at ../c_src/KinoSearch/Store/InStream.c:100:
Read
past EOF of /www/sites/zen.co.za/htdocs/test00/testindex/_2.cf (start:
3184 len 3097),...
\t at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Searcher.pm
line 158,...
\tKinoSearch::Searcher::search_hit_collector
('KinoSearch::Searcher=HASH(0x109257
0)',
'hit_collector', 'KinoSearch::Search::SortCollector=SCALAR(0x10c78b0)',
'weight', 'KinoSearch::Search::PhraseWeight=HASH(0x11064d0)', 'filter',
'undef') called at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Searcher.pm
line 109,...
\tKinoSearch::Searcher::search_top_docs('KinoSearch::Searcher=HASH
(0x1092570)',
'num_wanted', 10, 'query',
'KinoSearch::Search::PhraseQuery=HASH(0x114db80)', 'filter', 'undef',
'sort_spec', 'KinoSearch::Search::SortSpec=HASH(0x63c160)', ...)
called at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Search/Hits.
pm...
\tKinoSearch::Search::Hits::seek(3) called at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Searcher.pm
line 77,...
\tKinoSearch::Searcher::search('KinoSearch::Searcher=HASH(0x1092570)',
'query', 'site:www.site.com/index.html', 'offset', 0, 'num_wanted', 10,
'sort_spec', 'KinoSearch::Search::SortSpec=HASH(0x63c160)', ...)
called at
/www.../htdocs/test/searchtest.cgi line 46,...
This seems to happen with 0.20 or the latest svn build. In each case, I
reindexed the test files, and the schema is the same, etc.
I'm sorting using a KinoSearch::Search::SortSpec object on a special
field
which is indexed but not analysed (the error occurs with or without the
sorting btw).
Somehow, it's related to the content of the second test file batch (ie,
I'm indexing two sites (which have many pages each), and merging the
subindexes into one, which is then searched). If I only index/search
site
(a) no errors occur, but site (b) presents a problem (ie, whether the
index is seperate or merged).
-----------------------------------------------------------
Hello all,
I'm getting the following error when searching on a field ('site' in
this
case) - or no error at all when performing a phrase search (but not all
phrase searches result in an error):
Error in function refill at ../c_src/KinoSearch/Store/InStream.c:100:
Read
past EOF of /www/sites/zen.co.za/htdocs/test00/testindex/_2.cf (start:
3184 len 3097),...
\t at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Searcher.pm
line 158,...
\tKinoSearch::Searcher::search_hit_collector
('KinoSearch::Searcher=HASH(0x109257
0)',
'hit_collector', 'KinoSearch::Search::SortCollector=SCALAR(0x10c78b0)',
'weight', 'KinoSearch::Search::PhraseWeight=HASH(0x11064d0)', 'filter',
'undef') called at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Searcher.pm
line 109,...
\tKinoSearch::Searcher::search_top_docs('KinoSearch::Searcher=HASH
(0x1092570)',
'num_wanted', 10, 'query',
'KinoSearch::Search::PhraseQuery=HASH(0x114db80)', 'filter', 'undef',
'sort_spec', 'KinoSearch::Search::SortSpec=HASH(0x63c160)', ...)
called at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Search/Hits.
pm...
\tKinoSearch::Search::Hits::seek(3) called at
/usr/lib/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/KinoSearch/
Searcher.pm
line 77,...
\tKinoSearch::Searcher::search('KinoSearch::Searcher=HASH(0x1092570)',
'query', 'site:www.site.com/index.html', 'offset', 0, 'num_wanted', 10,
'sort_spec', 'KinoSearch::Search::SortSpec=HASH(0x63c160)', ...)
called at
/www.../htdocs/test/searchtest.cgi line 46,...
This seems to happen with 0.20 or the latest svn build. In each case, I
reindexed the test files, and the schema is the same, etc.
I'm sorting using a KinoSearch::Search::SortSpec object on a special
field
which is indexed but not analysed (the error occurs with or without the
sorting btw).
Somehow, it's related to the content of the second test file batch (ie,
I'm indexing two sites (which have many pages each), and merging the
subindexes into one, which is then searched). If I only index/search
site
(a) no errors occur, but site (b) presents a problem (ie, whether the
index is seperate or merged).