【正文】
sort specification] 1. mission impossible。 Configurable ? High Relevancy ? Mature Product ? Same features as software costing $$$ ? Leverage Community ? Lucene mitters, IR experts ? Free consulting: shared problems amp。 maps to query handler df (schema) Default field to search 10 Search Results responseresponseHeaderstatus0/status QTime1/QTime/responseHeader result numFound=16173 start=0 doc str name=nameApple 60 GB iPod with Video/str float name=price/float /doc doc str name=nameASUS Extreme N7800GTX/2DHTV/str float name=price/float /doc /result /response 11 Caching IndexSearcher’s view of an index is fixed ? Aggressive caching possible ? Consistency for multiquery requests filterCache – unordered set of document ids matching a query resultCache – ordered subset of document ids matching a query documentCache – the stored fields of documents userCaches – application specific, custom query handlers 12 Warming for Speed ? Lucene IndexReader warming ? field norms, FieldCache, tii – the term index ? Static Cache warming ? Configurable static requests to warm new Searchers ? Smart Cache Warming (autowarming) ? Using MRU items in the current cache to prepopulate the new cache ? Warming in parallel with live requests 13 Smart Cache Warming Field Cache Field Norms Warming Requests Request Handler Live Requests OnDeck Solr IndexSearcher Filter Cache User Cache Result Cache Doc Cache Registered Solr IndexSearcher Filter Cache User Cache