How do I run a full text search on a property using the C# LINQ Driver?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Critical - P2
    • None
    • Affects Version/s: 2.8.0
    • Component/s: LINQ
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I have a text index defined like this:

      { Builders<ApplicationLog>.IndexKeys.Ascending(k => k.ApplicationId).Text(k => k.LogMessage).Descending(k => k.LastModifiedTimeTicks), base.DefaultOptions("aid_lm_lmtt_nsprsc_index") },   //Can only have one text index.
      

      How do I use LINQ to run a search which utilizes this text index?

      I have searched everywhere, cannot figure it out.

       

            Assignee:
            Wan Bachtiar
            Reporter:
            Vijay Devappa
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: