No optimization causes wrong search result
Posted
by KailZhang
on Stack Overflow
See other posts from Stack Overflow
or by KailZhang
Published on 2010-05-06T01:50:02Z
Indexed on
2010/05/06
1:58 UTC
Read the original article
Hit count: 186
I just took over our solr/lucene stuff from my ex-colleague. But there is a weird bug.
If there is no optimization after dataimport, actually if there are multiple segment files, the search result then will be wrong. We are using a customized solr searchComponent. As far as I know about lucene, optimization is only optimization which could improve the speed of indexing and should not affect search result. I doubt this may be related to multithreading or unclosed searcher/reader or something.
Anybody can help? Thank you.
© Stack Overflow or respective owner