摘要:
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 阅读全文
摘要:
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 阅读全文