摘要: Stop your application serverChange your schema.xml fileStart your application serverDelete the index directory in your data directory (or alternately delete all documents using <delete><query>*:*</query></delete> before shutting down Solr)Send an <optimize/> commandRe-I 阅读全文
posted @ 2012-06-03 13:45 coldplayerest 阅读(3860) 评论(0) 推荐(0) 编辑
摘要: solr计算一个query的score分为两个部分:Lucene的算分模型Boost其中Lucene的算分模型包括:1. tf - Term Frequency. The frequency with which a term appears in a document. Given a search query, the higher the term frequency, the higher the document score.2. idf - Inverse Document Frequency. The rarer a term is across all documents in 阅读全文
posted @ 2012-06-03 11:52 coldplayerest 阅读(4728) 评论(0) 推荐(0) 编辑