Just use TF scoring


(Sushant Shankar) #1

Is it possible to build an index that uses TF scoring (and not TF-IDF)?

Can this be done using a custom scoring function?

--


(BillyEm) #2

yes. and yes.

On Friday, September 14, 2012 8:31:05 PM UTC-4, Sushant Shankar wrote:

Is it possible to build an index that uses TF scoring (and not TF-IDF)?

Can this be done using a custom scoring function?

--


(Sushant Shankar) #3

Do you have a pointer to how I would just use TF scoring?

On Friday, September 14, 2012 8:17:11 PM UTC-7, BillyEm wrote:

yes. and yes.

On Friday, September 14, 2012 8:31:05 PM UTC-4, Sushant Shankar wrote:

Is it possible to build an index that uses TF scoring (and not TF-IDF)?

Can this be done using a custom scoring function?

--


(Sushant Shankar) #4

I got it, thanks Billy! For my application, it looks like the custom
scoring query is sufficient.

I found the information here for custom scoring function:
http://www.elasticsearch.org/guide/reference/query-dsl/custom-score-query.html

On Saturday, September 15, 2012 3:25:14 PM UTC-7, Sushant Shankar wrote:

Do you have a pointer to how I would just use TF scoring?

On Friday, September 14, 2012 8:17:11 PM UTC-7, BillyEm wrote:

yes. and yes.

On Friday, September 14, 2012 8:31:05 PM UTC-4, Sushant Shankar wrote:

Is it possible to build an index that uses TF scoring (and not TF-IDF)?

Can this be done using a custom scoring function?

--


(system) #5