Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Connie DeCinko 931 posts 1159 karma points
    Aug 28, 2012 @ 22:32
    Connie DeCinko
    0

    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:

    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" />
  • 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.

Please Sign in or register to post replies