Skip to content

Instantly share code, notes, and snippets.

@hartviglarsen
Created May 8, 2019 12:54
Show Gist options
  • Save hartviglarsen/8a6f0a00a479a16907a31afb7655b424 to your computer and use it in GitHub Desktop.
Save hartviglarsen/8a6f0a00a479a16907a31afb7655b424 to your computer and use it in GitHub Desktop.
<IndexSet SetName="ukTownsIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/uktowns/">
<IndexUserFields>
<add Name="name" EnableSorting="true"/>
<add Name="county" EnableSorting="true"/>
<add Name="country"/>
<add Name="grid_reference" />
<add Name="latitude" />
<add Name="longitude"/>
<add Name="postcode_sector"/>
</IndexUserFields>
</IndexSet>
----------------
<add name="TownIndexer"
type="Examine.LuceneEngine.Providers.SimpleDataIndexer, Examine"
indexSet="ukTownsIndexSet"
dataService="SearchCourse.Core.Indexers.DbIndexer, SearchCourse.Core"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"
indexTypes="ukTown"
runAsync="true"/>
------------------------
<add name="TownSearcher"
type="Examine.LuceneEngine.Providers.LuceneSearcher, Examine"
indexSet="ukTownsIndexSet"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment