go-ego / riot

Go Open Source, Distributed, Simple and efficient Search Engine; Warning: This is V1 and beta version, because of big memory consume, and the V2 will be rewrite all code.
Apache License 2.0
6.11k stars 473 forks source link

Can multiple fields be used? #17

Open male110 opened 6 years ago

male110 commented 6 years ago

以前用过Lucen,比如一文章,有标题,内容,创建时间,在建索引时我可以设置标题的权重0.7,内容的权重0.3,创建时间保存,但不参加索引。 不知道用你这个可不可以做到这样的效果。

vcaesar commented 6 years ago

Fields, Score field. Tokens can support multiple tokens.