Re: Incremental export of a huge collection

2019-09-12 Thread Paras Lehana
Hey Mikhail, Isn't _version_ a timestamp of insertion by default? I think yes. From a similar query on SE : You can sort by _version_ field in descending order. AFAIK, _version_ field > is a epoch timestamp

Re: Incremental export of a huge collection

2019-09-12 Thread Joel Bernstein
This will do what you describe: https://lucene.apache.org/solr/guide/8_1/stream-source-reference.html#topic Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Sep 9, 2019 at 4:18 PM Mikhail Khludnev wrote: > Isn't _version_ a timestamp of insertion by default? > > On Mon, Sep 9, 2019 at

Re: OR and AND queries case sensitive in q param?

2019-09-12 Thread Shawn Heisey
On 9/12/2019 5:50 PM, Arnold Bronley wrote: in Solr 6.3, I was able to use OR and AND operators in case insensitive manner. The edismax query parser supports lowercase operators, if the lowercaseOperators parameter is set to true. I believe it defaults to false. Then if I pass 'rick OR

OR and AND queries case sensitive in q param?

2019-09-12 Thread Arnold Bronley
Hi, in Solr 6.3, I was able to use OR and AND operators in case insensitive manner. E.g. If I have two documents like following in my corpus: document 1: { id:1 author:rick } document 2: { id:2 author:morty } Then if I pass 'rick OR morty' to q param then I would get both documents back. I

Re: Sample JWT Solr configuration

2019-09-12 Thread Tyrone Tse
Jan I tried using the JWT Plugin https://github.com/cominvent/solr-auth-jwt If my security.json file is { "authentication": { "class":"com.cominvent.solr.JWTAuthPlugin", "jwk" : { "kty": "oct", "use": "sig", "kid": "solr",

Re: Is it possible to skip scoring completely?

2019-09-12 Thread Ashwin Ramesh
Ah! Thanks so much! On Thu., 12 Sep. 2019, 11:56 pm Shawn Heisey, wrote: > On 9/12/2019 12:43 AM, Ashwin Ramesh wrote: > > I just tried a * query with filters with fl=id,score. I noticed that all > > scores were 1.0. Which I assume means no scoring was done. When I added a > > sort after that

Solr Backup restore

2019-09-12 Thread Mohammed Farhan Ejaz
Hello, I have a Solr Cloud with 2 node cluster. It has 2 replicas one on each node with a single shard. The cores created are <>_shard1_replica1 and <>_shard1_replica2. When I create a collection back up and restore the documents are indexed properly on both the nodes, but the cores created are

Re: Is it possible to skip scoring completely?

2019-09-12 Thread Shawn Heisey
On 9/12/2019 12:43 AM, Ashwin Ramesh wrote: I just tried a * query with filters with fl=id,score. I noticed that all scores were 1.0. Which I assume means no scoring was done. When I added a sort after that test, scores were still 1.0. I guess all I have to do is set q=* & set a sort. Don't

Re: termfreq and IntPointField

2019-09-12 Thread ahubold
I've created a ticket for this problem now: https://issues.apache.org/jira/browse/SOLR-13757 Maybe it's just a matter of documentation. I'm using a workaround now. -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Replication Iteration

2019-09-12 Thread Paras Lehana
Hey Akreeti, 00:00:10 Have you tried increasing *commitReserveDuration*? Do you have any idea how much time your successful replications take for 2.62 GB? On Wed, 11 Sep 2019 at 22:30, Akreeti Agarwal wrote: > Hi, > > It fails many times, sharing the iteration: > > Passed: > Wed Sep 11

Re: Need more info on MLT (More Like This) feature

2019-09-12 Thread Chee Yee Lim
I've been working with MLT handler (Solr 8.1.1) by calling it the same way you did, http://[SOLR URL]/mlt. But the response is very unreliable with 90% of the same queries resulting in Java null pointer exception, and only 10% returning expected response. I do not know what is the cause of this.

Re: Is it possible to skip scoring completely?

2019-09-12 Thread Paras Lehana
Exactly, Ashwin, as Emir said, if you are not using any map or boosting function, your scores should be same. But, in order to answer your question to the point, here you can do to manipulate scoring: q.alt=*:**^0* In simple words, I have just added *^0* to your * query that you are presently

Need more info on MLT (More Like This) feature

2019-09-12 Thread Srisatya Pyla
Hi Solr Seatch Team, I am a developer from IBM Kenexa Brassring. We are using Solr Search engine for searching jobs in our applications. We are planning to use MLT feature to get the similar matching documents (jobs) based on one document (job). When trying to explore this option, we are

Re: Solr with encrypted HDFS

2019-09-12 Thread John Thorhauer
Great. Thanks so much Hendrik for your experience! We will might have high volume levels to deal with but probably not high commit rates. On Thu, Sep 12, 2019 at 1:45 AM Hendrik Haddorp wrote: > Hi, > > we have some setups that use an encryption zone in HDFS. Once you have > the hdfs config

Re: Is it possible to skip scoring completely?

2019-09-12 Thread Ashwin Ramesh
Thanks Shawn & Emir, I just tried a * query with filters with fl=id,score. I noticed that all scores were 1.0. Which I assume means no scoring was done. When I added a sort after that test, scores were still 1.0. I guess all I have to do is set q=* & set a sort. Appreciate your help, Ash On

Re: Is it possible to skip scoring completely?

2019-09-12 Thread Emir Arnautović
Hi Ash, I did not check the code, so not sure if your question is based on something that you find in the codebase or you are just assuming that scoring is called? I would assume differently: if you use only fq, then Solr does not have anything to score. Also, if you order by something other