You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "lakshman (Jira)" <ji...@apache.org> on 2021/04/04 11:07:00 UTC

[jira] [Created] (LUCENE-9903) Search is not working while migrating Lucene 3.6.2 to 8.7.0

lakshman created LUCENE-9903:
--------------------------------

             Summary: Search is not working while migrating Lucene 3.6.2 to 8.7.0
                 Key: LUCENE-9903
                 URL: https://issues.apache.org/jira/browse/LUCENE-9903
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/search
    Affects Versions: 8.7
            Reporter: lakshman


We are upgrading the Lucene version from 3.6.2 to 8.7.0 version, we are facing the search issue, once request is reach to search method then response is not coming out  the execution flow is blocked by search method

public void collect(IndexSearcher is) throws CorruptIndexException,public void collect(IndexSearcher is) throws CorruptIndexException, IOException {

TopFieldCollector collector = TopFieldCollector.create(TopFieldCollector collector = TopFieldCollector.create( reverse ? reverseSort : sort, numr, val);

is.setSimilarity(new ClassicSimilarity());

is.search(query, numr); 

}

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org