Solr 7.3 debug/explain with boost applied

2018-04-22 Thread Ryan Yacyshyn
Hi all, When viewing the explain under debug=true in Solr 7.3.0 using the edismax query parser with a boost, I only see the "boost" part of the explain. Without applying a boost I see the full explain. Is this the expected behaviour? Here's how to check using the techproducts example.. bin/solr

Re: Solr 6.6.2 Master/Slave SSL Replication Error

2018-04-22 Thread Kelly Rusk
Makes perfect sense! Should I use the key tool to import the Certs? If so, do you have an example you prefer or should I just pull from the docs? Regards, Kelly _ From: Shawn Heisey Sent: Sunday, April 22, 2018 8:40 PM Subject: Re: Solr 6.6.2 Master/Slave SSL Replica

Re: Solr 6.6.2 Master/Slave SSL Replication Error

2018-04-22 Thread Shawn Heisey
On 4/22/2018 6:27 PM, Kelly Rusk wrote: Thanks for the assistance. The Master Server has a self-signed Cert with its machine name, and the Slave has a self-signed Cert with its machine name. They have identical configurations, and I created a keystore per server. Should I import the self-signe

Re: Solr 6.6.2 Master/Slave SSL Replication Error

2018-04-22 Thread Kelly Rusk
Hi Shawn, Thanks for the assistance. The Master Server has a self-signed Cert with its machine name, and the Slave has a self-signed Cert with its machine name. They have identical configurations, and I created a keystore per server. Should I import the self-signed Cert into each other’s keysto

Re: Solr 6.6.2 Master/Slave SSL Replication Error

2018-04-22 Thread Shawn Heisey
On 4/22/2018 4:40 PM, Kelly Rusk wrote: I already have a key store/trust store and my settings are as follows: set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_KEY_STORE_PASSWORD=secret set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_TRUST_STORE_PASSWORD=secret REM R

Re: Solr 6.6.2 Master/Slave SSL Replication Error

2018-04-22 Thread Kelly Rusk
Thanks Chris, I already have a key store/trust store and my settings are as follows: set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_KEY_STORE_PASSWORD=secret set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_TRUST_STORE_PASSWORD=secret REM Require clients to authentic

Re: query bag of word with negation

2018-04-22 Thread Erick Erickson
Queries of the form *some* can be _quite_ expensive, make sure you test on a realistic corpus. ngrams are often used to solve that problem. If you mean *some then you may want to include ReverseWildcardFilterFactory Best, Erick On Sun, Apr 22, 2018 at 12:33 PM, Nicolas Paris wrote: > Hello Mar

Re: Solr 6.6.2 Master/Slave SSL Replication Error

2018-04-22 Thread Chris Hostetter
You need to configure Solr to use a "truststore" that contains the certificate you want it to trust. With a solr cloud setup, that usually involves configuring the "keystore" and the "truststore" to both contain the same keys... https://lucene.apache.org/solr/guide/6_6/enabling-ssl.html : D

Re: custom response writer which extends RawResponseWriter fails when shards > 1

2018-04-22 Thread Chris Hostetter
Not that i can think of -- the existing API is really designed with the focus that the the ResponseWriter needs to specify the Content-Type prior to "writting" any bytes so Solr can do the best job possible "streaming" the data over the wire ... if you need to "pre-process" a lot of the respon

Re: query bag of word with negation

2018-04-22 Thread Nicolas Paris
Hello Markus Thanks ! The ComplexPhraseQueryParser syntax: q={!complexphrase inOrder=false}collector:"wonderful pizza -peperoni"~5 answers my needs. BTW, Apparently it accepts both leading/ending wildcards, that's look powerful feature. Any chance it would support the "sow=false" in order to co

Re: query bag of word with negation

2018-04-22 Thread Nicolas Paris
1. Query terms containing other than just letters or digits may be placed >> within double quotes so that those other characters do not separate a term >> into many terms. A dot (period) and white space are neither letter nor >> digit. Examples: "Now is the time for all good men" (spaces, quote

RE: query bag of word with negation

2018-04-22 Thread Markus Jelsma
Hello Nicolas, Yes you can! Check out ComplexPhaseQParser https://lucene.apache.org/solr/guide/6_6/other-parsers.html#OtherParsers-ComplexPhraseQueryParser Regards, Markus -Original message- > From:Nicolas Paris > Sent: Sunday 22nd April 2018 20:04 > To: solr-user@lucene.apache.org

Re: query bag of word with negation

2018-04-22 Thread Joe Doupnik
On 22/04/2018 19:26, Joe Doupnik wrote: On 22/04/2018 19:04, Nicolas Paris wrote: Hello I wonder if there is a plain text query syntax to say: give me all document that match: wonderful pizza NOT peperoni all those in a 5 distance word bag then pizza are wonderful -> would match I made a won

Re: query bag of word with negation

2018-04-22 Thread Joe Doupnik
On 22/04/2018 19:04, Nicolas Paris wrote: Hello I wonder if there is a plain text query syntax to say: give me all document that match: wonderful pizza NOT peperoni all those in a 5 distance word bag then pizza are wonderful -> would match I made a wonderful pasta and pizza -> would match Pep

query bag of word with negation

2018-04-22 Thread Nicolas Paris
Hello I wonder if there is a plain text query syntax to say: give me all document that match: wonderful pizza NOT peperoni all those in a 5 distance word bag then pizza are wonderful -> would match I made a wonderful pasta and pizza -> would match Peperoni pizza are so wonderful -> would not ma

Re: custom response writer which extends RawResponseWriter fails when shards > 1

2018-04-22 Thread Lee Carroll
Hi, I've ended up processing the doclist in the response twice. Once in the write method and once in getContent. Its a bit inefficient but i'm only looking at top doc each time so probably ok. Is their a better way to do this ? Cheers lee C On 22 April 2018 at 13:26, Lee Carroll wrote: > Hi, >

Re: custom response writer which extends RawResponseWriter fails when shards > 1

2018-04-22 Thread Lee Carroll
Hi, That works a treat. The raw response writer has a configurable base class which executes when no content stream is present in the response so I just delegate to that. I do still have an issue with writing content type on the http response from a value in the top document however. Although I do