
lucene
chruan
这个作者很懒,什么都没留下…
展开
-
如何限定继承类
IndexReader() { if (!(this instanceof CompositeReader || this instanceof AtomicReader)) throw new Error("IndexReader should never be directly extended, subclass AtomicReader or CompositeRead原创 2012-07-23 14:29:14 · 628 阅读 · 0 评论 -
lucene 使用教程
相当好的文章http://cloudera.iteye.com/blog/6564591 lucene简介 1.1 什么是lucene Lucene是一个全文搜索框架,而不是应用产品。因此它并不像http://www.baidu.com/ 或者google Desktop那么拿来就能用,它只是提供了一种工具让你能实现这些产品。1.2 lucene能做什么 要回答这个问题转载 2012-08-20 11:31:41 · 1914 阅读 · 0 评论 -
solr - org.apache.solr.common.SolrException: Could not load config for solrconfig.xml
错误:org.apache.solr.common.SolrException: Could not load config for solrconfig.xml解决:solr/home位置不对。让它指向solr-4.1.0\example\solr就行了,我已经copy到WebRoot了。找到web.xml中的 solr/home /p原创 2013-03-07 09:07:27 · 33255 阅读 · 2 评论 -
错误:A SPI class of type org.apache.lucene.*** with name 'Whitespace' does not exist.
错误:java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.analysis.util.TokenizerFactory with name 'Whitespace' does not exist. You need to add the corresponding JAR file supporting原创 2013-03-18 14:17:01 · 4272 阅读 · 0 评论