Apache Lucene 6.1.0 發布,全文索引引擎工具包

jopen 8年前發布 | 24K 次閱讀 Java 全文索引 Apache Lucene

Lucene不是一個完整的全文索引應用,而是是一個用Java寫的全文索引引擎工具包,它可以方便的嵌入到各種應用中實現針對應用的全文索引/檢索功能。Lucene的作者:Lucene的貢獻者Doug Cutting是一位資深全文索引/檢索專家,曾經是V-Twin搜索引擎(Apple的Copland操作系統的成就之一)的主要開發者,后在Excite擔任高級系統架構設計師,目前從事于一些INTERNET底層架構的研究。他貢獻出的Lucene的目標是為各種中小型應用程序加入全文檢索功能。

 

更新日志

  • 新功能
    1. LUCENE-7099: Add LatLonDocValuesField.newDistanceSort to the sandbox. 
      (Robert Muir)
    2. LUCENE-7140: Add PlanetModel.bisection to spatial3d 
      (Karl Wright via Mike McCandless)
    3. LUCENE-7069: Add LatLonPoint.nearest, to find nearest N points to a provided query point 
      (Mike McCandless)
    4. LUCENE-7234: Added InetAddressPoint.nextDown/nextUp to easily generate range queries with excluded bounds. 
      (Adrien Grand)
    5. LUCENE-7300: The misc module now has a directory wrapper that uses hard-links if applicable and supported when copying files from another FSDirectory in Directory#copyFrom. 
      (Simon Willnauer)
  • API更改
    1. LUCENE-7163: refactor GeoRect, Polygon, and GeoUtils tests to geo package in core 
      (Nick Knize)
    2. LUCENE-7152: Refactor GeoUtils from lucene-spatial package to core 
      (Nick Knize)
    3. LUCENE-7141: Switch OfflineSorter's ByteSequencesReader to BytesRefIterator 
      (Mike McCandless)
    4. LUCENE-7150: Spatial3d gets useful APIs to create common shape queries, matching LatLonPoint. 
      (Karl Wright via Mike McCandless)
    5. LUCENE-7243: Removed the LeafReaderContext parameter from QueryCachingPolicy#shouldCache. 
      (Adrien Grand)
    6. LUCENE-7283: SlowCompositeReaderWrapper and the uninverting package have been moved to Solr. 
      (Mike McCandless)
  • 優化
    1. LUCENE-7071: Reduce bytes copying in OfflineSorter, giving ~10% speedup on merging 2D LatLonPoint values 
      (Mike McCandless)
    2. LUCENE-7105LUCENE-7215: Optimize LatLonPoint's newDistanceQuery. 
      (Robert Muir)
    3. LUCENE-7097: IntroSorter now recurses to 2 * log_2(count) quicksort stack depth before switching to heapsort 
      (Adrien Grand, Mike McCandless)
    4. LUCENE-7115: Speed up FieldCache.CacheEntry toString by setting initial StringBuilder capacity 
      (Gregory Chanan)
    5. LUCENE-7147: Improve disjoint check for geo distance query traversal 
      (Ryan Ernst, Robert Muir, Mike McCandless)
    6. LUCENE-7153: GeoPointField and LatLonPoint polygon queries now support multiple polygons and holes, with memory usage independent of polygon complexity. 
      (Karl Wright, Mike McCandless, Robert Muir)
    7. LUCENE-7159: Speed up LatLonPoint polygon performance. 
      (Robert Muir, Ryan Ernst)
    8. LUCENE-7211: Reduce memory & GC for spatial RPT Intersects when the number of matching docs is small. 
      (Jeff Wartes, David Smiley)
    9. LUCENE-7235: LRUQueryCache should not take a lock for segments that it will not cache on anyway. 
      (Adrien Grand)
    10. LUCENE-7238: Explicitly disable the query cache in MemoryIndex#createSearcher. 
      (Adrien Grand)
    11. LUCENE-7237: LRUQueryCache now prefers returning an uncached Scorer than waiting on a lock. 
      (Adrien Grand)
    12. LUCENE-7261LUCENE-7262LUCENE-7264LUCENE-7258: Speed up DocIdSetBuilder (which is used by TermsQuery, multi-term queries and several point queries). 
      (Adrien Grand, Jeff Wartes, David Smiley)
    13. LUCENE-7299: Speed up BytesRefHash.sort() using radix sort. 
      (Adrien Grand)
    14. LUCENE-7306: Speed up points indexing and merging using radix sort. 
      (Adrien Grand)
  • Bug修復
    1. LUCENE-7127: Fix corner case bugs in GeoPointDistanceQuery. 
      (Robert Muir)
    2. LUCENE-7166: Fix corner case bugs in LatLonPoint/GeoPointField bounding box queries. 
      (Robert Muir)
    3. LUCENE-7168: Switch to stable encode for geo3d, remove quantization test leniency, remove dead code 
      (Mike McCandless)
    4. LUCENE-7301: Multiple doc values updates to the same document within one update batch could be applied in the wrong order resulting in the wrong updated value 
      (Ishan Chattopadhyaya, hossman, Mike McCandless)
    5. LUCENE-7312: Fix geo3d's x/y/z double to int encoding to ensure it always rounds down 
      (Karl Wright, Mike McCandless)
    6. LUCENE-7132: BooleanQuery sometimes assigned too-low scores in cases where ranges of documents had only a single clause matching while other ranges had more than one clause matching 
      (Ahmet Arslan, hossman, Mike McCandless)
    7. LUCENE-7286: Added support for highlighting SynonymQuery. 
      (Adrien Grand)
    8. LUCENE-7291: Spatial heatmap faceting could mis-count when the heatmap crosses the dateline and indexed non-point shapes are much bigger than the heatmap region. 
      (David Smiley)
    9. LUCENE-7333: Fix test bug where randomSimpleString() generated a filename that is a reserved device name on Windows. 
      (Uwe Schindler, Mike McCandless)
  • 其他
    1. LUCENE-7295: TermAutomatonQuery.hashCode calculates Automaton.toDot().hash, equivalence relationship replaced with object identity. 
      (Dawid Weiss)
    2. LUCENE-7277: Make Query.hashCode and Query.equals abstract. 
      (Paul Elschot, Dawid Weiss)
    3. LUCENE-7174: Upgrade randomizedtesting to 2.3.4. 
      (Uwe Schindler, Dawid Weiss)
    4. LUCENE-7205: Remove repeated nl.getLength() calls in (Boolean|DisjunctionMax|FuzzyLikeThis)QueryBuilder. 
      (Christine Poerschke)
    5. LUCENE-7210: Make TestCore*Parser's analyzer choice override-able 
      (Christine Poerschke, Daniel Collins)
    6. LUCENE-7263: Make queryparser/xml/CoreParser's SpanQueryBuilderFactory accessible to deriving classes. 
      (Daniel Collins via Christine Poerschke)
    7. SOLR-9109/SOLR-9121: Allow specification of a custom Ivy settings file via system property "ivysettings.xml". 
      (Misha Dmitriev, Christine Poerschke, Uwe Schindler, Steve Rowe)
    8. LUCENE-7206: Improve the ToParentBlockJoinQuery's explain by including the explain of the best matching child doc. 
      (Ilya Kasnacheev, Jeff Evans via Martijn van Groningen)
    9. LUCENE-7307: Add getters to the PointInSetQuery and PointRangeQuery queries. 
      (Martijn van Groningen, Adrien Grand)
  • Build
    1. LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation. 
      (Uwe Schindler)
    2. LUCENE-7296: Update forbiddenapis to version 2.1. 
      (Uwe Schindler)

下載

 </pre>

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!