[prev in list] [next in list] [prev in thread] [next in thread] 

List:       solr-user
Subject:    Opposite termfrequency / Solr LTR
From:       steveWunderbar <ste.kemptner () gmail ! com>
Date:       2017-06-29 10:13:55
Message-ID: 1498731235228-4343394.post () n3 ! nabble ! com
[Download RAW message or body]

Hello everybody,
I'm using Solr LTR and i want to calculte a Feature value using the
following way:

I have a String with all Categories that are in a users search-history:
e.g. "shoes,shoes,socks,shoes"
Now I'd like to count the occurances of the value of the category field in
the String (for each document).

doc 1:{ category:shoes}
myString: "shoes,shoes,socks,shoes"

result = 3

I tried using termfrequency but it works only in the opposite direction.
Is there a way to acchieve this though?

Best regards,
Stefan




--
View this message in context: \
http://lucene.472066.n3.nabble.com/Opposite-termfrequency-Solr-LTR-tp4343394.html \
Sent from the Solr - User mailing list archive at Nabble.com.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic