这是我想做的,使用伪代码:
lucene.Find((someField == "bar" || someField == "baz") && anotherField == "foo");
或者用英语,“查找someField为 'bar' 或 'baz' 且anotherField为 'foo' 的所有文档”。
如何使用 Lucene 进行这样的查询?
这是我想做的,使用伪代码:
lucene.Find((someField == "bar" || someField == "baz") && anotherField == "foo");
或者用英语,“查找someField为 'bar' 或 'baz' 且anotherField为 'foo' 的所有文档”。
如何使用 Lucene 进行这样的查询?