问题
Does anyone know if the SpanMultiTermQueryWrapper class is available in the Lucene.NET port? I can't find it anywhere, and it sure would be handy. I'm still using version 2.9...maybe it's available in a later version? Thanks!
回答1:
I do not see it in the current codebase:
https://svn.apache.org/repos/asf/incubator/lucene.net/trunk/src/core/Search/Spans/
You could probably port it easily enough though.
回答2:
SpanMultiTermQueryWrapper is available on Lucene.Net 4.8.0-beta00004.
If you need support in earlier versions of Lucene.Net, you can probably just grab the source code from the above link and any dependencies and drop them into a library for your applications.
来源:https://stackoverflow.com/questions/7933000/spanmultitermquerywrapper-in-lucene-net