Is there a way to expose the score of each result returned?
For instance I have the following search and result:
admin@cqlsh:demo> select * from tweets where expr(tweets_index, '{filter: {type:"fuzzy", field:"body", value:"robert", boost:2.0} }');
id | body | latitude | longitude | time | user
----+----------------------------+----------+-----------+---------------------------------+--------
5 | robert | null | null | 2018-08-31 22:00:00.000000+0000 | robert
6 | robert is working in Miami | null | null | 2018-08-31 22:00:00.000000+0000 | robert
Is there a way to get the score of each line like in an extra column or so?
Hi,
Is there a way to expose the score of each result returned? For instance I have the following search and result:
admin@cqlsh:demo> select * from tweets where expr(tweets_index, '{filter: {type:"fuzzy", field:"body", value:"robert", boost:2.0} }');
id | body | latitude | longitude | time | user ----+----------------------------+----------+-----------+---------------------------------+-------- 5 | robert | null | null | 2018-08-31 22:00:00.000000+0000 | robert 6 | robert is working in Miami | null | null | 2018-08-31 22:00:00.000000+0000 | robert
Is there a way to get the score of each line like in an extra column or so?
thanks in advance. Daniel