Hi,
Recently, we were performing experiment on Lucene based on TFIDF.
We want to get the similar documents from the corpus, of which the
similarity between each document (d) and the given query (q) is no less than a
threshold. We use the following scoring function.
sum(tf(t,d) * idf(t)
t time I asked". And for that,
you really need to control the mechanism yourself. Not only does Solr
not provide this OOB, I'm not even sure what it could be implemented
in a general case unless Solr became transactional.
Best,
Erick
On Sun, May 10, 2015 at 5:38 PM, liwen(李文).apabi wrote:
t;newest" is a fuzzy concept.
I'd put a counter in my docs that I guaranteed was increasing and just
q=*:*&rows=1&sort=timestamp desc. That should give you the most recent
doc. Beware using a timestamp though if you're not absolutely sure
that the clock times you use are compa
Hi, Solr Developers
I want to get the newest commited docs in the postcommit event, then
nofity the other server which data can be used, but I can not find any way to
get the newest docs after commited, so is there any way to do this?
Thank you.
Wen Li
Hi, Solr Developers
I want to get the newest commited docs in the postcommit event, then
nofity the other server which data can be used, but I can not find any way to
get the newest docs after commited, so is there any way to do this?
Thank you.
Wen Li