Question about high-performance methods to drive TFIDF queries

2018-01-07 Thread
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)

答复: 答复: How to get the docs id after commit

2015-05-11 Thread
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:

答复: How to get the docs id after commit

2015-05-10 Thread
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

How to get the docs id after commit

2015-05-10 Thread
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

How to get the docs id after commit

2015-05-08 Thread
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