Hello everybody,
We're attempting to implement a searching by relevance using Vignette API.
This searching should verify every searchable fields in a ContentItem that
match with a keyword,
emphasizing a specific field, in our case, one called TITLE. The ContentItems whose
TITLE field match the keyword should appear first,
and the ContentItems whose any other searchable fields, but the title, matches
the keyword should appear last.
For exemple:
Keyword: 'Teste'
The results should be in this order:
1º TITLE: 'Teste Title 1'; SearchableFieldX: 'ABCD Teste', where the keyword appears both in the TITLE and in any other searchable field.
2º TITLE: 'Teste Title 2'; SearchableFieldX: 'This is Searchable', where the keyword appears only in the TITLE field.
3º TITLE: 'Aleatory Title'; SearchableFieldX: 'This is Teste' , where the keyword does not appear in the TITLE but appears in others searchable fields.
Someone can help us?
[]'s