Re: Cluster with no overseer?

2019-05-21 Thread Will Martin
Worked with Fusion and Zookeeper at GSA for 18 months: admin role.

Before blowing it away, you could try:

- id a candidate node, with a snapshot you just might think is old enough
to be robust.
- clean data for zk nodes otherwise.
- bring up the chosen node and wait for it to settle[wish i could remember
why i called what i saw that]
- bring up other nodes 1 at a time.  let each one fully sync to follower of
the new leader.
- they should each in turn request the snapshot from the lead. then you
have

: align your collections with the ensemble. and for the life of me i can't
remember there being anything particularly tricky about that with fusion ,
which means I can't remember what I did... or have it doc'd at home. ;-)


Will Martin
DEVOPS ENGINEER
540.454.9565

8609 WESTWOOD CENTER DR, SUITE 475
VIENNA, VA 22182
geturgently.com


On Tue, May 21, 2019 at 11:40 PM Walter Underwood 
wrote:

> Yes, please. I have the logs from each of the Zookeepers.
>
> We are running 3.4.12.
>
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
>
> > On May 21, 2019, at 6:49 PM, Will Martin  wrote:
> >
> > Walter. Can I cross-post to zk-dev?
> >
> >
> >
> > Will Martin
> > DEVOPS ENGINEER
> > 540.454.9565
> >
> > 
> >
> > 8609 WESTWOOD CENTER DR, SUITE 475
> > VIENNA, VA 22182
> > geturgently.com 
> >
> >
> >
> >
> >> On May 21, 2019, at 9:26 PM, Will Martin  wmar...@urgent.ly>> wrote:
> >>
> >> +1
> >>
> >> Will Martin
> >> DEVOPS ENGINEER
> >> 540.454.9565
> >>
> >> 8609 WESTWOOD CENTER DR, SUITE 475
> >> VIENNA, VA 22182
> >> geturgently.com 
> >>
> >>
> >> On Tue, May 21, 2019 at 7:39 PM Walter Underwood  > wrote:
> >> ADDROLE times out after 180 seconds. This seems to be an unrecoverable
> state for the cluster, so that is a pretty serious bug.
> >>
> >> wunder
> >> Walter Underwood
> >> wun...@wunderwood.org 
> >> http://observer.wunderwood.org/   (my
> blog)
> >>
> >> > On May 21, 2019, at 4:10 PM, Walter Underwood  > wrote:
> >> >
> >> > We have a 6.6.2 cluster in prod that appears to have no overseer. In
> /overseer_elect on ZK, there is an election folder, but no leader document.
> An OVERSEERSTATUS request fails with a timeout.
> >> >
> >> > I’m going to try ADDROLE, but I’d be delighted to hear any other
> ideas. We’ve diverted all the traffic to the backing cluster, so we can
> blow this one away and rebuild.
> >> >
> >> > Looking at the Zookeeper logs, I see a few instances of network
> failures across all three nodes.
> >> >
> >> > wunder
> >> > Walter Underwood
> >> > wun...@wunderwood.org 
> >> > http://observer.wunderwood.org/ 
> (my blog)
> >> >
> >>
> >
>
>


Re: Cluster with no overseer?

2019-05-21 Thread Walter Underwood
Yes, please. I have the logs from each of the Zookeepers. 

We are running 3.4.12.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On May 21, 2019, at 6:49 PM, Will Martin  wrote:
> 
> Walter. Can I cross-post to zk-dev?
> 
> 
> 
> Will Martin
> DEVOPS ENGINEER
> 540.454.9565
> 
> 
> 
> 8609 WESTWOOD CENTER DR, SUITE 475
> VIENNA, VA 22182
> geturgently.com 
> 
> 
> 
> 
>> On May 21, 2019, at 9:26 PM, Will Martin > > wrote:
>> 
>> +1
>> 
>> Will Martin
>> DEVOPS ENGINEER
>> 540.454.9565
>> 
>> 8609 WESTWOOD CENTER DR, SUITE 475
>> VIENNA, VA 22182
>> geturgently.com 
>> 
>> 
>> On Tue, May 21, 2019 at 7:39 PM Walter Underwood > > wrote:
>> ADDROLE times out after 180 seconds. This seems to be an unrecoverable state 
>> for the cluster, so that is a pretty serious bug.
>> 
>> wunder
>> Walter Underwood
>> wun...@wunderwood.org 
>> http://observer.wunderwood.org/   (my blog)
>> 
>> > On May 21, 2019, at 4:10 PM, Walter Underwood > > > wrote:
>> > 
>> > We have a 6.6.2 cluster in prod that appears to have no overseer. In 
>> > /overseer_elect on ZK, there is an election folder, but no leader 
>> > document. An OVERSEERSTATUS request fails with a timeout.
>> > 
>> > I’m going to try ADDROLE, but I’d be delighted to hear any other ideas. 
>> > We’ve diverted all the traffic to the backing cluster, so we can blow this 
>> > one away and rebuild.
>> > 
>> > Looking at the Zookeeper logs, I see a few instances of network failures 
>> > across all three nodes.
>> > 
>> > wunder
>> > Walter Underwood
>> > wun...@wunderwood.org 
>> > http://observer.wunderwood.org/   (my 
>> > blog)
>> > 
>> 
> 



Re: Cluster with no overseer?

2019-05-21 Thread Will Martin
Walter. Can I cross-post to zk-dev?
Will MartinDEVOPS ENGINEER540.454.9565

urgently-email-logo
Description: application/apple-msg-attachment
8609 WESTWOOD CENTER DR, SUITE 475VIENNA, VA 22182geturgently.com

On May 21, 2019, at 9:26 PM, Will Martin  wrote:+1Will MartinDEVOPS ENGINEER540.454.95658609 WESTWOOD CENTER DR, SUITE 475VIENNA, VA 22182geturgently.comOn Tue, May 21, 2019 at 7:39 PM Walter Underwood  wrote:ADDROLE times out after 180 seconds. This seems to be an unrecoverable state for the cluster, so that is a pretty serious bug.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On May 21, 2019, at 4:10 PM, Walter Underwood  wrote:
> 
> We have a 6.6.2 cluster in prod that appears to have no overseer. In /overseer_elect on ZK, there is an election folder, but no leader document. An OVERSEERSTATUS request fails with a timeout.
> 
> I’m going to try ADDROLE, but I’d be delighted to hear any other ideas. We’ve diverted all the traffic to the backing cluster, so we can blow this one away and rebuild.
> 
> Looking at the Zookeeper logs, I see a few instances of network failures across all three nodes.
> 
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
> 




Re: Cluster with no overseer?

2019-05-21 Thread Will Martin
+1

Will Martin
DEVOPS ENGINEER
540.454.9565

8609 WESTWOOD CENTER DR, SUITE 475
VIENNA, VA 22182
geturgently.com


On Tue, May 21, 2019 at 7:39 PM Walter Underwood 
wrote:

> ADDROLE times out after 180 seconds. This seems to be an unrecoverable
> state for the cluster, so that is a pretty serious bug.
>
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
>
> > On May 21, 2019, at 4:10 PM, Walter Underwood 
> wrote:
> >
> > We have a 6.6.2 cluster in prod that appears to have no overseer. In
> /overseer_elect on ZK, there is an election folder, but no leader document.
> An OVERSEERSTATUS request fails with a timeout.
> >
> > I’m going to try ADDROLE, but I’d be delighted to hear any other ideas.
> We’ve diverted all the traffic to the backing cluster, so we can blow this
> one away and rebuild.
> >
> > Looking at the Zookeeper logs, I see a few instances of network failures
> across all three nodes.
> >
> > wunder
> > Walter Underwood
> > wun...@wunderwood.org
> > http://observer.wunderwood.org/  (my blog)
> >
>
>


Re: Cluster with no overseer?

2019-05-21 Thread Walter Underwood
ADDROLE times out after 180 seconds. This seems to be an unrecoverable state 
for the cluster, so that is a pretty serious bug.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)

> On May 21, 2019, at 4:10 PM, Walter Underwood  wrote:
> 
> We have a 6.6.2 cluster in prod that appears to have no overseer. In 
> /overseer_elect on ZK, there is an election folder, but no leader document. 
> An OVERSEERSTATUS request fails with a timeout.
> 
> I’m going to try ADDROLE, but I’d be delighted to hear any other ideas. We’ve 
> diverted all the traffic to the backing cluster, so we can blow this one away 
> and rebuild.
> 
> Looking at the Zookeeper logs, I see a few instances of network failures 
> across all three nodes.
> 
> wunder
> Walter Underwood
> wun...@wunderwood.org
> http://observer.wunderwood.org/  (my blog)
> 



Cluster with no overseer?

2019-05-21 Thread Walter Underwood
We have a 6.6.2 cluster in prod that appears to have no overseer. In 
/overseer_elect on ZK, there is an election folder, but no leader document. An 
OVERSEERSTATUS request fails with a timeout.

I’m going to try ADDROLE, but I’d be delighted to hear any other ideas. We’ve 
diverted all the traffic to the backing cluster, so we can blow this one away 
and rebuild.

Looking at the Zookeeper logs, I see a few instances of network failures across 
all three nodes.

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/  (my blog)



Re: SolrCloud (7.3) and Legacy replication slaves

2019-05-21 Thread Erick Erickson
Have you looked at TLOG and PULL replica types? If you’re trying to connect to 
separate clusters (defined by having different ZooKeepers) those won’t work...

> On May 21, 2019, at 8:15 AM, Shawn Heisey  wrote:
> 
> On 5/21/2019 8:48 AM, Michael Tracey wrote:
>> Is it possible set up an existing SolrCloud cluster as the master for
>> legacy replication to a slave server or two?   It looks like another option
>> is to use Uni-direction CDCR, but not sure what is the best option in this
>> case.
> 
> You're asking for problems if you try to combine legacy replication with 
> SolrCloud.  The two features are not guaranteed to work together.
> 
> CDCR is your best bet.  This replicates from one SolrCloud cluster to another.
> 
> Thanks,
> Shawn



Re: SolrCloud (7.3) and Legacy replication slaves

2019-05-21 Thread Shawn Heisey

On 5/21/2019 8:48 AM, Michael Tracey wrote:

Is it possible set up an existing SolrCloud cluster as the master for
legacy replication to a slave server or two?   It looks like another option
is to use Uni-direction CDCR, but not sure what is the best option in this
case.


You're asking for problems if you try to combine legacy replication with 
SolrCloud.  The two features are not guaranteed to work together.


CDCR is your best bet.  This replicates from one SolrCloud cluster to 
another.


Thanks,
Shawn


SolrCloud (7.3) and Legacy replication slaves

2019-05-21 Thread Michael Tracey
Is it possible set up an existing SolrCloud cluster as the master for
legacy replication to a slave server or two?   It looks like another option
is to use Uni-direction CDCR, but not sure what is the best option in this
case.

-- 
Michael Tracey


Re: Solr setup issue with Amazon EC2

2019-05-21 Thread Jörn Franke
You have to look into solr.log - it will give you the exact error message 

> Am 21.05.2019 um 13:22 schrieb vivek solanki :
> 
> Hi Team,
> 
> This is regarding your tutorial
> https://lucene.apache.org/solr/guide/7_2/aws-solrcloud-tutorial.html.
> 
> I have followed all the steps mentioned in tutorials. In my case I have
> only one machine, so there is only solr-node.
> After starting solr with command:
> bin/solr start -c -p 8983 -h solr-node.
> 
> Solr is started on port 8983 but on UI when I am hitting url with address:
> myec2:8983/solr/, I am getting error.
> 
> javax.servlet.ServletException: javax.servlet.UnavailableException:
> Error processing the request. CoreContainer is either not initialized
> or shutting down.
>at 
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
>at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>at 
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
>at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>at org.eclipse.jetty.server.Server.handle(Server.java:502)
>at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
>at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
>at 
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
>at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
>at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
>at 
> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
>at 
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
>at java.lang.Thread.run(Thread.java:748)
> Caused by: javax.servlet.UnavailableException: Error processing the
> request. CoreContainer is either not initialized or shutting down.
>at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)
>at 
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:343)
>at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)
>at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
>at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
>at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
>at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
>at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
>at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
>at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
>at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
>at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
>at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
>at 
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
>at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
>at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
>at 
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
>at 
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
>... 12 more
> 
> 
> Kindly help me in fixing this issue.
> 
> 
> Regards
> 
> Vivek Solanki


edismax q.op=AND with q="a b" is not the same search as q="a AND b"?

2019-05-21 Thread henrikf
Seems like there is a bug with q.op=AND and edismax.
If I understand this correctly, these queries should return the same result:
1) q="a AND b"
2) q="a b" q.op=AND
This is not the case with edismax (using solr 8, LUCENE_VERSION: 8_0_0 ->
had the same problem at least since 7.1)
Query 2) requires to find both a and b in the same field.
Note: this works correctly with queryparser dismax: the results of 1) will
be the same as 2).

Example queries:

// q="146762084 AND t27"
// http:.../select?debugQuery=on=146762084%20AND%20t27=edismax

{
  "response": {
"numFound": 1,
"start": 0,
"docs": [
  {
"id": "146762084"
  }
]
  },
  "debug": {
"rawquerystring": "146762084 AND t27",
"querystring": "146762084 AND t27",
"parsedquery": "+(+DisjunctionMaxQuery(((id:146762084)^200.0 |
body:146762084)) +DisjunctionMaxQuery(((id:t27)^200.0 | (+body:t
+body:27",
"parsedquery_toString": "+(+((id:146762084)^200.0 | body:146762084)
+((id:t27)^200.0 | (+body:t +body:27)))",
"QParser": "ExtendedDismaxQParser"
  }
}


//q="146762084 t27"
//q.op=AND
// http:.../select?debugQuery=on=146762084%20t27=AND=edismax

{
  "response": {
"numFound": 0,
"start": 0,
"docs": [

]
  },
  "debug": {
"rawquerystring": "146762084 t27",
"querystring": "146762084 t27",
"parsedquery": "+(+DisjunctionMaxQuery(((+id:146762084 +id:t27)^200.0 |
(+body:146762084 +body:t +body:27",
"parsedquery_toString": "+(+((+id:146762084 +id:t27)^200.0 |
(+body:146762084 +body:t +body:27)))",
"QParser": "ExtendedDismaxQParser"
  }
}

Anyone else seen the same? 

Any pointers will be appreciated. 

Thanks, 
Henrik



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Solr setup issue with Amazon EC2

2019-05-21 Thread vivek solanki
Hi Team,

This is regarding your tutorial
https://lucene.apache.org/solr/guide/7_2/aws-solrcloud-tutorial.html.

I have followed all the steps mentioned in tutorials. In my case I have
only one machine, so there is only solr-node.
After starting solr with command:
bin/solr start -c -p 8983 -h solr-node.

Solr is started on port 8983 but on UI when I am hitting url with address:
myec2:8983/solr/, I am getting error.

javax.servlet.ServletException: javax.servlet.UnavailableException:
Error processing the request. CoreContainer is either not initialized
or shutting down.
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at 
org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:335)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.eclipse.jetty.server.Server.handle(Server.java:502)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)
at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)
at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)
at 
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)
at java.lang.Thread.run(Thread.java:748)
Caused by: javax.servlet.UnavailableException: Error processing the
request. CoreContainer is either not initialized or shutting down.
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:361)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:343)
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146)
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257)
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)
at 
org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)
at 
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:220)
at 
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
... 12 more


Kindly help me in fixing this issue.


Regards

Vivek Solanki


Solr 7.6 Error deleting copy field

2019-05-21 Thread Kavita
Hi All,

I have exact problem mentioned in this link below.

http://lucene.472066.n3.nabble.com/Error-deleting-copy-field-td4393097.html

I want to delete all the copy fields with the same source name

curl http://localhost:8983/solr/pi_squared/schema/copyfields 

{
  "source":"abstract_txt_en",
  "dest":"catchall"},
{
  "source":"abstract_txt_en",
  "dest":"catchall"},
{
  "source":"abstract_txt_en",
  "dest":"catchall"},
{
  "source":"abstract_txt_en",
  "dest":"catchall"},
 But when I try to delete with the delete-copy-field, I get a following
error

"errorMessages":["Copy field directive not found: 'abstract_txt_en' ->
'catchall'\n"]}],

abstract_txt_en is a dynamic field

I even tried  with "source":"*_txt_en", but I get a same error

curl -X POST -H 'Content-type:application/json' --data-binary '{
  "delete-copy-field":{ "source":"*_txt_en", "dest":"catchall" }
}' http://localhost:8983/solr/pi_squared/schema


Thank you for you  help in advance 




--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html


Re: Unsubscribe me

2019-05-21 Thread Gora Mohanty
Hi,

Please see https://lucene.apache.org/solr/community.html#mailing-lists-irc
: you need to send mail to
   solr-user-unsubscr...@lucene.apache.org
in order to unsubscribe,

Regards,
Gora


Unsubscribe me

2019-05-21 Thread Vladimir Vagaytsev



Re: Solr8.0.0 Performance Test

2019-05-21 Thread Toke Eskildsen
Kayak28  wrote:
> For the next opportunity to share table-formatted data,
> what is the best way to share data with all of you?

There's no hard recommendations, so anything where you can just click on a link 
and see the data: Google Docs, GitHub Gists, Pastebin...

> When we request a facet query (like below) to 2 Solrs:
> one with multiple segments and the other is only one
> segment, we will have different performance result?

Yes. Whether is is noticeable is another question. For small indexes of for 
complex queries, the difference will be hard to measure. I mentioned it 
primarily as a general comment. With your 2M docs / 8GB index, I highly doubt 
you will see any difference.

> Can we configure up-front faceting or one-the-fly facet method?

Yep, that's the facet.method parameter: fc vs. fcs
https://lucene.apache.org/solr/guide/7_7/faceting.html#field-value-faceting-parameters

- Toke Eskildsen, Royal Danish Library


Re: How to use encrypted username password.

2019-05-21 Thread Jan Høydahl
Typically you'll place the -Dsolr.httpclient.config file somewhere restricted 
so there should be no need to encrypt it.
IF you encrypted the user and pass in that file, where would you place the 
secret decryption key for Solr to decrypt them?

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 20. mai 2019 kl. 23:53 skrev Gangadhar Gangadhar :
> 
> Hi,
> 
>   I’m trying to explore if there is any way to encrypt -basicauth or
> encrypt username and password in -Dsolr.httpclient.config.
> 
> Thanks
> Gangadhar



Re: StopWords behavior with phrases

2019-05-21 Thread Jan Høydahl
Well perhaps you don't need to remove stopwords at all? :)
Or a middle ground is to NOT removing stopwords in your 'index' analyzer, then 
you have the flexibility of removing them on query side. Thus if you use 
=false on your call perhaps that works?

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com

> 21. mai 2019 kl. 09:53 skrev Ashish Bisht :
> 
> Hi,
> 
> We make query to solr as below
> 
> *q="market and cloud" OR (market and cloud)=AND=edismax*
> 
> Our intent to look for results with both phrase match and AND query together
> where solr itself takes care of relevancy.
> 
> But due to presence of stopword in phrase query a gap is left which gives
> different results as against a keyword "market cloud".
> 
> "parsedquery_toString":"+(+(content:\"market ? cloud\" |
> search_field:\"market ? cloud\"))",
> 
> There are suggestion that for phrase query create a separate field with no
> stopword,But then we'll not be able to achieve both phrase and AND in a
> single request.
> 
> Is there anyway ? can be removed from phrase or any suggestion for our
> requirement.
> 
> Please suggest
> 
> Regards
> Ashish
> 
> 
> 
> 
> 
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html



StopWords behavior with phrases

2019-05-21 Thread Ashish Bisht
Hi,

We make query to solr as below

*q="market and cloud" OR (market and cloud)=AND=edismax*

Our intent to look for results with both phrase match and AND query together
where solr itself takes care of relevancy.

But due to presence of stopword in phrase query a gap is left which gives
different results as against a keyword "market cloud".

"parsedquery_toString":"+(+(content:\"market ? cloud\" |
search_field:\"market ? cloud\"))",

There are suggestion that for phrase query create a separate field with no
stopword,But then we'll not be able to achieve both phrase and AND in a
single request.

Is there anyway ? can be removed from phrase or any suggestion for our
requirement.

Please suggest

Regards
Ashish





--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html