Uploaded image for project: 'Lucene.Net'
  1. Lucene.Net
  2. LUCENENET-553

Proximity Search with wildcard character and with boolean operator

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: Lucene.Net 3.0.3
    • Fix Version/s: None
    • Component/s: Lucene.Net Core
    • Labels:
      None
    • Environment:

      Windows 7 , Intel i3 process, 4 GB Ram

      Description

      I can able to do normal proximity search

      for example

      I would like to search A , B ,C with N words apart, the query will be as follows

      field:"A B C"~N

      this is working very fine.
      my first word will be either A* or B* (with wildcard characters) and second word will be either C* OR D* are N distance apart from each other

      for example :

      fieldname:"(A* OR B*) (C* OR D*)"~N

      Is it possible ?

      if it is not possibal in straight forward way then is there any alternative ?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pravinthokal Pravin Thokal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: