Since the weights weren't actually being applied since they were specified
wrong, I removed them a couple of commits ago.

Given that, I'm updating the docs to reflect that.
This commit is contained in:
Will Kahn-Greene 2012-05-16 17:03:35 -04:00
Родитель e58ccc0227
Коммит 9da271c806
1 изменённых файлов: 2 добавлений и 31 удалений

Просмотреть файл

@ -304,48 +304,19 @@ kb:
query fields: title, content, summary, keywords
weights:
======== =====
name value
======== =====
title 6
content 1
keywords 4
summary 2
======== =====
questions:
query fields: title, question_content, answer_content
weights:
================ =====
name value
================ =====
title 4
question_content 3
answer_content 3
================ =====
forums:
query fields: title, content
weights:
======== =====
name value
======== =====
title 2
content 1
======== =====
.. Note::
The query fields and weights are shared between our Sphinx code and
our Elastic Search code.
We can do boosts/weights, but currently there is no
boosting/weighting done.
Elastic Search is built on top of Lucene so the `Lucene documentation