Creating an Index Set

For each Indexer and Searcher specified you will require an index set. Creating an index set is simply done via configuration and normally is used to just supply the location of where the Lucene index will be stored.

Index sets can also specify what data to store. This is done by filters by including/excluding certain data types, and including only the specified fields. If none of this is specified then all data found in the data source will be indexed. When specifying fields you can also configure what the the data type for a given field is (i.e. date, number, etc...) which affects how it is stored and how it can be searched.

Config

  <ExamineLuceneIndexSets>
    <IndexSet SetName="myIndexSet" IndexPath="~/App_Data/myIndexSet" />
  </ExamineLuceneIndexSets>

Last edited Apr 4, 2013 at 9:47 PM by Shandem, version 2