Different analyzers for each field

后端 未结 3 1125
失恋的感觉
失恋的感觉 2021-02-05 05:29

How can I enable different analyzers for each field in a document I\'m indexing with Lucene? Example:

        RAMDirectory dir = new RAMDirectory();
        Ind         


        
3条回答
  •  你的背包
    2021-02-05 06:03

    PerFieldAnalyzerWrapper is what you are looking for. The equivalent of this in Lucene.net is here.

提交回复
热议问题