Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using Examine to index some database records. I've tried various analyzers and cannot seem to find a way to sucessfully search for a string that contains a slash, such as '1/1991'. It works fine in Luke with the keyword and whitespace analyzers.
My search filter:
filter = criteria.Field("smallOpinionDate", "1/1991");
Examine Settings:
<add name="EthicsOpinionsIndexer" type="Examine.LuceneEngine.Providers.SimpleDataIndexer, Examine" dataService="Ethics.EthicsOpinionsDataService, Ethics" indexTypes="EthicsOpinionsData" analyzer="Lucene.Net.Analysis.KeywordAnalyzer, Lucene.Net" />
. . .
<add name="EthicsOpinionsSearcher" type="Examine.LuceneEngine.Providers.LuceneSearcher, Examine" analyzer="Lucene.Net.Analysis.KeywordAnalyzer, Lucene.Net" />
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Examine ignores slash in search criteria?
I'm using Examine to index some database records. I've tried various analyzers and cannot seem to find a way to sucessfully search for a string that contains a slash, such as '1/1991'. It works fine in Luke with the keyword and whitespace analyzers.
My search filter:
. . .
<add name="EthicsOpinionsSearcher"
type="Examine.LuceneEngine.Providers.LuceneSearcher, Examine"
analyzer="Lucene.Net.Analysis.KeywordAnalyzer, Lucene.Net" />
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.