I have a Solr index with document fields something like:
id, body_text, date, num_upvotes, num_downvotes
In my application, a document is created with some integer id
and some body_text
(500 chars max). The date is set to the time of input, and num_upvotes
and num_downvotes
begin at 0.
我的申请使用户有能力夸张和淡化上述内容,因此,我想在索勒而不是仅仅在行文中追踪这一情况,是我想能够把发价和发价列入我的<<>search/code>。
这是一个问题,因为你可以简单地更新文件(即增加文件号),而且你必须替换整个文件,因为考虑到需要打败我的行,以再次收集所有相关数据,该文件很可能效率不高。
I realize the solution may require a different layout of data, or possibly multiple indexes (although I don t know if you can query/score across solr cores).
Is anyone able to offer any recommendations on how to tackle this?