基于FunctionQuery的文档排序优化

阅读更多

客户端查询样例:

is_valid:1+AND+entity_id:00323530+AND+((goods_type:1+AND+self_entity_ids:00323531)+OR+(goods_type:2+AND+self_entity_id:00323531))+AND+_query_:{!fieldboost+f%3Dstock_create_times}00323531

 

QP fieldboost实现:

com.dfire.tis.solrextend.queryparse.s4supplyGoods.FieldBoostByPayloadQParserPlugin

AllWarehouseFunctionQuery

 

solrconfig.xml配置:

 

 

 

 

 

你可能感兴趣的:(基于FunctionQuery的文档排序优化)