Home > database >  Solr slow query, only more than 30 data, test solr reach 3 s - 4 s seconds, query time ask bosses ma
Solr slow query, only more than 30 data, test solr reach 3 s - 4 s seconds, query time ask bosses ma

Time:09-22

. As shown in figure as query conditions, the query conditions more long! Below for deposit docment information , every time to restart solr is very fast, but a day query soon become slow, arrived in 2 to 3 seconds, the data is not much, but the query is slow!

CodePudding user response:

Where did the data? Mysql, or index file?

CodePudding user response:

Index, has generated the index file, when a query when it's going to slow!

CodePudding user response:

Feel you the tomcat configuration, where is wrong, such as large memory,

CodePudding user response:

这个tomcat我设置了,这个今天早晨打开查询的时间,一开始很慢,debug={timing={time=5387.0,prepare={time=4993.0,query={time=4993.0},facet={time=0.0},facet_module={time=0.0},mlt={time=0.0},highlight={time=0.0},stats={time=0.0},expand={time=0.0},terms={time=0.0},debug={time=0.0}},process={time=386.0,query={time=31.0},facet={time=0.0},facet_module={time=0.0},mlt={time=0.0},highlight={time=354.0},stats={time=0.0},expand={time=0.0},terms={time=0.0},debug={time=0.0}}}}}这个通过debug方式,发现异常时间出现在这里,

Test yesterday, and found that highlight using the default mode is a bit slow, changed to PostingsHighlighter Gao Liangqi,

CodePudding user response:

Speak a little messy
  • Related