LuceneNotes » History » Revision 8
« Previous |
Revision 8/13
(diff)
| Next »
Andreas Kohlbecker, 09/23/2013 12:08 PM
Various notes and links on Lucene¶
- Table of contents
- Various notes and links on Lucene
Joins in Lucene¶
joins using BlockJoinQuery¶
possible since v3.4.0
http://blog.mikemccandless.com/2012/01/searching-relational-content-with.html
joins using the JoinUtil¶
is slower than BlockJoinQuery but seems more flexible and does not require special indexing
possisble since 3.6, 4.0-ALPHA
http://lucene.apache.org/core/3_6_2/api/all/org/apache/lucene/search/join/JoinUtil.html
Filters¶
General rules¶
I you are using multiple filters, place these filters inside of a Boolean Filter. The Boolean Filter internally benefits from the BitSets produced by Filters.
Your “heaviest” filter should always be placed last – typically Geo filters since they can perform some heavy computations to determine distance.
Links to docs¶
- on bitsets and filters: http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/
Updated by Andreas Kohlbecker over 10 years ago · 8 revisions