lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitry Kan <solrexp...@gmail.com>
Subject OOV queries
Date Thu, 05 Jun 2014 12:47:20 GMT
Hi,

Solr is good at caching: even if first "cold" query takes longer time, the
subsequent one is much quicker, given that it shares the fq's of the first
query.

This is more like an idea question:

what about the out-of-vocabulary (OOV) queries? According to my quick
measurements, they take same amount of time when repeated and return
nothing.

Most of such queries are usually user typos, so I could imagine
implementing a round-trip to the server with an auto-corrected query, if
the first query returned 0 hits. This does not solve the underlining slow 0
hits query though.

Would it make sense to implement an OOV cache to speed things up? Does one
exist already in Lucene / Solr?

-- 
Dmitry Kan
Blog: http://dmitrykan.blogspot.com
Twitter: http://twitter.com/dmitrykan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message