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

Search text without accent to get text has accent

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Lucene.Net Demo
    • Labels:
      None

      Description

      I made the index data that is the vietnamese characters:

      {Id="zgRpBGVKTEqBWkAEDkApig",Name="[Bình chọn 2 câu hỏi] - Mesut Ozil & Jack Ruddy",Desc="[Bình chọn 2 câu hỏi] - Mesut Ozil & Jack Ruddy"},
      {Id="T8t5PKAng0aDwNPBTKR-Hw",Name="[Bình chọn 2 câu hỏi] - Ben Hamer",Desc="[Bình chọn 2 câu hỏi] - Ben Hamer"},
      {Id="84o_eBV9cU-OIUeC8RpTaQ",Name="[Top 5 trận đấu gần đây nhất] - Fulham - Burnley",Desc="[Top 5 trận đấu gần đây nhất] - Fulham - Burnley"},
      {Id="Ch34ACvS2km-gIhHtHWcaA",Name="[Lịch thi đấu] - Huddersfield Town - Cardiff City",Desc="[Lịch thi đấu] - Huddersfield Town - Cardiff City"},
      {Id="rtlNhfrg2k-jNABkkKsUAg",Name="[Lịch thi đấu] - Arsenal - West Ham United",Desc="[Lịch thi đấu] - Arsenal - West Ham United"}

      I want to search to get data that keyword has no accent, ex: "Lich thi dau". Currently, I can't search to get data when use this case.

      Can you guide me, how to search with keyword has no accent to get data that indexed.

      I found a way that customize analyzer, but I can't find a sample that can run in .net.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              huanbd huân bùi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: