We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi ~ 各位, 最近在看zoie的一些源码的时候, 有个关于添加document到内存索引的时候, 构造UIDFilter并显示调用writer.deleteDocuments(new ConstantScoreQuery(uidFilter)); 这个api有些不太明白, 为啥不是直接调用lucene 的 update 的api, 而是先delete---commit ----add---commit呢 ?求大神指点 .... Solr 是先查出业务id对应的docId, 构造updateDocument(Term term, Iterable<? extends IndexableField> doc)中的term实现对业务唯一性的保证. 请问Zoie 使用显示删除并commit, 然后在调用add api这样的做法是否是和自己扩展实现了ZoieSegmentReader或者ZoieMultiReader有关呢 ?
The text was updated successfully, but these errors were encountered:
这项目应该是黄了,你还想老外给你解答么。。。
Sorry, something went wrong.
No branches or pull requests
hi ~ 各位,
最近在看zoie的一些源码的时候, 有个关于添加document到内存索引的时候, 构造UIDFilter并显示调用writer.deleteDocuments(new ConstantScoreQuery(uidFilter)); 这个api有些不太明白, 为啥不是直接调用lucene 的 update 的api, 而是先delete---commit ----add---commit呢 ?求大神指点 .... Solr 是先查出业务id对应的docId, 构造updateDocument(Term term, Iterable<? extends IndexableField> doc)中的term实现对业务唯一性的保证. 请问Zoie 使用显示删除并commit, 然后在调用add api这样的做法是否是和自己扩展实现了ZoieSegmentReader或者ZoieMultiReader有关呢 ?
The text was updated successfully, but these errors were encountered: