Re: trivia question: why q=*:* doesn't return same result as q.alt=*:*

2018-01-07 Thread Erik Hatcher
I think what Erick meant to say ;) was defType=dismax does NOT do anything special with *:* other than treat it as plain text and does dismaxy things with it. That’s exactly why there is q.alt for the dismax parser - so you can have your dismax and still match all docs by not having a q.

[ANNOUNCE] Luke 7.2.0 released

2018-01-07 Thread Tomoko Uchida
Download the release zip here: https://github.com/DmitryKey/luke/releases/tag/luke-7.2.0 Upgrade to Lucene 7.2.0. And, revised Luke atop JavaFX can be downloaded here: https://github.com/DmitryKey/luke/releases/tag/luke-javafx-7.2.0 Luke atop JavaFX is distributed under Apache License v2. We pla

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)

Re: Deliver static html content via solr

2018-01-07 Thread Rick Leir
Shawn The easy solution is to put something like solr-security-proxy [1] in front of a Solr/Velocity app, and this is working for me. However, this has a blacklist for Solr parms and I think it should have a whitelist instead. Also, it does not check ranges or filter chars. Is this proxy adequat

Re: Limit search queries only to pull replicas

2018-01-07 Thread Ere Maijala
Interesting indeed, but maybe in line with the idea that ES knows what to do best without the user interfering. My example parameter name was bad, it should have been something like "preferReplicaTypes=TLOG,PULL". I can't see what would be bad about that, but then to me it seems Solr has alway