| 1 |
Main Page |
| 2 |
========= |
| 3 |
|
| 4 |
This is the main page of the ``titles`` test project. |
| 5 |
|
| 6 |
In particular, this test project is intended to demonstrate how Sphinx |
| 7 |
can handle scoring of query matches against document titles and subsection |
| 8 |
heading titles relative to other document matches such as terms found within |
| 9 |
document text and object names extracted from code. |
| 10 |
|
| 11 |
Relevance |
| 12 |
--------- |
| 13 |
|
| 14 |
In the context of search engines, we can say that a document is **relevant** |
| 15 |
to a user's query when it contains information that seems likely to help them |
| 16 |
find an answer to a question they're asking, or to improve their knowledge of |
| 17 |
the subject area they're researching. |
| 18 |
|
| 19 |
.. automodule:: relevance |
| 20 |
:members: |
| 21 |
|
| 22 |
Result Scoring |
| 23 |
-------------- |
| 24 |
|
| 25 |
Many search engines assign a numeric score to documents during retrieval of |
| 26 |
results - and this score is often used to determine the order in which they |
| 27 |
will be presented to the user. |
| 28 |
|
| 29 |
For example, if a user issues a query for a two words, then documents that |
| 30 |
contain both of the words would typically be scored more highly than documents |
| 31 |
which only contain one of them. |
| 32 |
|
| 33 |
By evaluating search results and collecting user feedback over time, we can |
| 34 |
attempt to align document :index:`!scoring` with :index:`relevance`. |