在使用搜索定义时,该定义看起来像
search music{
document music{
field title type string {
indexing: summary | attribute | index
}
}
}
如果我通过开发文档处理器(在处理上下文中保存已处理的令牌)来使用标记字符串的自定义逻辑,那么如何在基本索引中存储令牌?以及如何将它们映射回字段的原始内容,同时回想起某个特定查询?我们用ProcessingEndPoint解决这个问题吗?如果是,怎么做?
我一直在尝试实现这样的目标:
class App {
static void Main(string[] args) {
System.Console.WriteLine(new Test("abc")); //output: 'abc'
System.Console.ReadLine();
}
}
我可以通过传递一个变量来完成此操作:
class Test {
public static string str;
public Test (string input) { s