Class LuceneSearchIndex

java.lang.Object
com.easydesk.util.word.EmptySearcher
com.easydesk.util.word.LuceneSearchIndex
All Implemented Interfaces:
SearchIndex

public class LuceneSearchIndex extends EmptySearcher
Lucene (Searchable) 을 사용하는 SearchIndex.

기존 com.nannet.jettiger.util.word.JetTigerAdapter 의 port 이다.

  • index location 은 IndexLocations 규칙 (<moduleId>/attribute/<itemTypeId>) 을 사용한다. (기존 <category>/attribute/<itemType 이름>)
  • BitMatrix (x : Module id, y : ItemType id) 의 설정된 (Module, ItemType) 마다 index location 을 만든다.
  • 어떤 ItemType 에 대하여 모든 Module 이 설정되어 있으면 (MITListItem 의 All Module) wild card (*/attribute/<itemTypeId>) 를 사용하고 기존과 같이 module 을 한정하지 않는다. (moduleFilter = null)
이 class 는 thread-safe 하지 않다. 항상 SearchFactory.getInstance() 로 새로 생성하여 사용하여야 한다.
Author:
조 영 호