Hi, I use TextIndexNG with french stemmers to index my documents in "full-text" mode. My questions are : - how are TextIndexNG results sorted ? - how are results stored when a TextIndexNG is mixed with other indexes (fieldindexes,...) in a single query ? - is there a "rank" or "score" value available in TextIndexNG query results to be able to sort results manually ? - does ZCTextIndex solves these problems ?? Thanks, Thierry -- Linux every day, keeps Dr Watson away... http://gpc.sourceforge.net -- http://www.ulthar.net
--On Mittwoch, 2. April 2003 15:27 Uhr +0200 Thierry FLORAC <thierry.florac@onf.fr> wrote:
Hi,
I use TextIndexNG with french stemmers to index my documents in "full-text" mode. My questions are : - how are TextIndexNG results sorted ?
Sorting is up to the application.
- how are results stored when a TextIndexNG is mixed with other indexes (fieldindexes,...) in a single query ?
same as above (except you specify sort_on on the ZCatalog level)
- is there a "rank" or "score" value available in TextIndexNG query results to be able to sort results manually ?
TextIndexNG does no ranking, ZCTextIndexNG does
- does ZCTextIndex solves these problems ??
Casey? -aj
On Wednesday 02 April 2003 08:33 am, Andreas Jung wrote:
--On Mittwoch, 2. April 2003 15:27 Uhr +0200 Thierry FLORAC <thierry.florac@onf.fr> wrote:
Hi,
I use TextIndexNG with french stemmers to index my documents in "full-text" mode. My questions are : - how are TextIndexNG results sorted ?
Sorting is up to the application.
- how are results stored when a TextIndexNG is mixed with other indexes (fieldindexes,...) in a single query ?
same as above (except you specify sort_on on the ZCatalog level)
- is there a "rank" or "score" value available in TextIndexNG query results to be able to sort results manually ?
TextIndexNG does no ranking, ZCTextIndexNG does
- does ZCTextIndex solves these problems ??
Casey?
-aj
ZCTextIndex sorts in reverse order by relevance score (highest first). I think you can also sort by arbitrary indexes if that isn't what you want. It often is (for me at least). Classic TextIndex works this way too, but its scoring algorithm is *much* less sophisticated. hth, -Casey
participants (3)
-
Andreas Jung -
Casey Duncan -
Thierry FLORAC