http://wiki.apache.org/lucene-java/ImproveSearchingSpeed
Here are some things to try to speed up the seaching speed of your Lucene application. Please see ImproveIndexingSpeed for how to speed up indexing.
http://wiki.apache.org/lucene-java/ImproveSearchingSpeed
Here are some things to try to speed up the seaching speed of your Lucene application. Please see ImproveIndexingSpeed for how to speed up indexing.
测试ES版本0.10.0,ES的Query DSL很灵活,可以实现复杂的查询,这里提供个简单的例子。
curl -XGET 'http://localhost:9200/_all/default/_search?pretty=true' -d ' { "explain": true, "from": 1, "size": 12, "fields": [ "HasExperience", "Name" ], "query": { "term": { "HasExperience": true, "__TENANTID": "100001" }, "range": { "Age": { "from": 0, "to": 100, "includeLower": true, "includeUpper": true } } } } '
本文来自: ElasticSearch复杂查询DSL使用
转自:http://blog.sematext.com/2010/02/09/lucandra-a-cassandra-based-lucene-backend/
GitHub地址:http://github.com/tjake/Lucandra/blob/master/README
关于Lucandra的介绍:
闲逛,发现了这个好东东,分享下,绝对独家,哈哈。