solr解析请求

1 solr的调用

 

1)SolrCore.java

public void execute(SolrRequestHandler handler, SolrQueryRequest req, SolrQueryResponse rsp)

调用handler.handleRequest(req,rsp);

2)RequestHandlerBase.java

调用public void handleRequest(SolrQueryRequest req, SolrQueryResponse rsp);

3)StandardRequestHandler.java

    handleRequestBody(SolrQueryRequest req, SolrQueryResponse rsp)

4)QueryParsing.java

 

    public static Query parseQuery(String qs, String defaultField, SolrParams params, IndexSchema schema)

 

2 Lucene的调用

 

1)QueryParser.java

 

    public Query parse(String query)

你可能感兴趣的:(schema,String,Solr,Lucene,query)