Re: Per-query boosts in MLT

2016-10-17 Thread Ere Maijala

Hi,

this comes quite late, but since we really need this too, I've now 
started to work on this and I believe I have proper fixes in a pull 
request. See https://issues.apache.org/jira/browse/SOLR-9644 for details.


--Ere

9.6.2016, 16.09, Marc Burt kirjoitti:

Hi,

Is it possible to assign boosts to the MLT similarity fields instead of
the defaults set in the config when making a MLT query?
I'm currently using a query parser and attempting /select?q={!mlt
qf=foo^10,bar^20,upc^50}/id /etc but it's taking the boost to be part of
the field name.



--
Ere Maijala
Kansalliskirjasto / The National Library of Finland


PDF writer

2016-10-17 Thread Matthew Roth
Hi Group,

Is there a documented or preferred path to have a PDF response writer? I am
using solr 5.3.x for an internal project. I have an XSL-FO transformation
that I am able to return via the XSLT response writer. Is there a
documented way to produce  a PDF via solr? Alternatively, I was thinking of
passing the response through an eXist-db instance [0] we have running.
However, a pdf response writer would be ideal.

Best,
Matt

[0] http://exist-db.org/


Re: Filter response for lukerequest handler [SOLR 6.1.0]

2016-10-17 Thread Shawn Heisey
On 10/14/2016 1:36 PM, slee wrote:
> I have read the following documentation outline here:  LukeRequestHandler
>   
>
> The response always comes back as:
>
>
> What I want is just to have the response output as followed:
>
>
> I have a use-case where I have well over 100 dynamic fields, which could
> possibly grow. On the UI side, I would give them a text-box with look-ahead
> search that binds to this dynamic fields.
>  
>
> Can this be done via the given LukeRequestHandler api?

You'll notice that your XML isn't in what got quoted above.  This is
because Nabble did not send it to the mailing list.  By clicking on the
URL at the bottom of your message that Nabble inserted for you, I was
able to go to the Nabble site and see what you included.

In order to get an abbreviated response like you want (where all detail
info for each field is left out), a new feature, probably a new
parameter on the Luke handler, will be needed.  This makes it an
enhancement request, which you can file in the Jira issue tracker.  Once
it's filed, you would need to wait for a committer to accept the
request, wait for it to be implemented, and then also wait for the next
version of Solr to be released after the implementation is complete.  It
might take a very long time - assuming it happens at all.  Not all
feature requests are implemented.

Note that if you're using a library (either XML or Solr) to parse the
result, the client code would likely be the same now as it would be if
your idea is implemented.  Manual parsing of well-known structured
formats in user code is not something I would recommend, when there are
libraries available for common languages to do it for you.

Thanks,
Shawn



solr-6.2.0 cannot be launched by systemd service

2016-10-17 Thread yunjiez
solr_systemd.log
  

There is no problem when launching the solr-6.2.0 with the script bin/solr.
But when I launching it with systemd service, the solr instance will soon be
stopped by systemd. I attached the error log. Anyone can help? thanks.

=
systemd service for solr
=
[Unit]
After=basic.target
After=network.target
Description=Standalone Solr server
Wants=basic.target

[Service]
Environment="SOLR_INCLUDE=/home/bob/solr/bin/solr.in.sh"
User=search
Group=search
ExecStart=/home/bob/solr/bin/solr start
ExecStop=/home/bob/solr/bin/solr stop
Restart=on-failure

[Install]
WantedBy=multi-user.target



--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-6-2-0-cannot-be-launched-by-systemd-service-tp4301482.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: PDF writer

2016-10-17 Thread Erick Erickson
There's no PDF writer that I know of, and I doubt there's much
enthusiasm for creating one as part of Solr. ResponseWriters are
pluggable so this would certainly be possible.

At root, in a response writer you just have a map of key/value pairs
(it's a little more complicated than that, but not much) that you can
do whatever you want with, either on Solr or on a SolrJ client.

Not much help I know...

Best,
Erick

On Mon, Oct 17, 2016 at 10:01 AM, Matthew Roth  wrote:
> Hi Group,
>
> Is there a documented or preferred path to have a PDF response writer? I am
> using solr 5.3.x for an internal project. I have an XSL-FO transformation
> that I am able to return via the XSLT response writer. Is there a
> documented way to produce  a PDF via solr? Alternatively, I was thinking of
> passing the response through an eXist-db instance [0] we have running.
> However, a pdf response writer would be ideal.
>
> Best,
> Matt
>
> [0] http://exist-db.org/


R: R: R: Incongruent results of numdocs

2016-10-17 Thread Davide Isoardi
I find nothing in the log concerning this issue.

I try to do your suggestion.

Thanks
Davide Isoardi
eCube S.r.l.
isoa...@ecubecenter.it
http://www.ecubecenter.it
Tel.  +390113999301
Mobile +393288204915
Fax. +390113999309

   
Informativa ai sensi del Decr.Lgs Privacy n.196/2003
ECUBE tratta i dati personali secondo quanto specificato nella pagina “Privacy 
Policy” disponibile su http://www.ecubecenter.it/privacy.pdf. Le informazioni 
contenute nel presente messaggio sono destinate esclusivamente al/ai 
destinatario/i indicato/i. Qualora riceviate il presente messaggio per errore, 
vi preghiamo di voler cortesemente darcene notizia via e-mail 
(i...@ecubecenter.it) e di provvedere ad eliminare il messaggio ricevuto 
erroneamente, essendo illegittimo ed illecito ogni diverso utilizzo.


-Messaggio originale-
Da: Erick Erickson [mailto:erickerick...@gmail.com] 
Inviato: sabato 15 ottobre 2016 00:45
A: solr-user 
Oggetto: Re: R: R: Incongruent results of numdocs

Not quite. When you add replica 3, it will be synchronized to the leader.
So I'd shut down the solr node with the bad replica, add the new replica and 
then delete the old one.

The disturbing bit is that the replicas for out of sync in the first place.
Anything in the logs that gives any clues as to why?

Best,
Erick

On Oct 14, 2016 18:32, "Davide Isoardi"  wrote:

> I am sorry for my typos. I have compared numdocs of  shard1_replica1 
> with shard1_replica2.
>
> If I  create another replica (replica3) and only after that I unload 
> replica2, will the last replica be synchronized with replica1?
>
> Inviata dal mio Windows Phone
> 
> Da: Shawn Heisey
> Inviato: ‎14/‎10/‎2016 18:33
> A: solr-user@lucene.apache.org
> Oggetto: Re: R: Incongruent results of numdocs
>
> On 10/14/2016 9:43 AM, Davide Isoardi wrote:
> >
> > thank you very much for the quick answare.
> >
> >
> >
> > Yes, I am not indexing between request.
> >
> >
> >
> > How can I risync two or all replicas?
> >
> > If I look the overviews in the shard menu (attached the screenshot) 
> > I see that the num docs are mismatched.
> >
> >
> >
> > Shard1_replica1
> >
> >
> > Shard2_replica2
> >
>
> I can't see those pictures, the attachments didn't make it.  You seem 
> to be comparing shard1 and shard2.  That's not a valid comparison.  
> There's a very good chance that different shards will have different 
> document counts even if everything is working correctly.  You need to 
> compare replicas of shard1 to other replicas of shard1, shard2 to shard2, etc.
> They'll likely be on different servers.
>
> Probably the best way to force a resync is to shutdown a Solr 
> instance, decide which replicas you want to delete on that instance, 
> delete the data directory for those replicas, and start Solr back up.  
> Any replica where you delete the data directory will copy the index 
> from the shard leader, and they'll be back in sync when the copy 
> finishes.  Before you do this, make sure that you actually do have 
> multiple replicas of each shard.
>
> Thanks,
> Shawn
>
>


Re: PDF writer

2016-10-17 Thread Matthew Roth
Thanks Erick. That is as anticipated. Scouring my other resources didn't
indicate the existence of a PDF writer. I thought I'd try the group be
embarking on a custom solution.


Matt

On Mon, Oct 17, 2016 at 11:58 AM, Erick Erickson 
wrote:

> There's no PDF writer that I know of, and I doubt there's much
> enthusiasm for creating one as part of Solr. ResponseWriters are
> pluggable so this would certainly be possible.
>
> At root, in a response writer you just have a map of key/value pairs
> (it's a little more complicated than that, but not much) that you can
> do whatever you want with, either on Solr or on a SolrJ client.
>
> Not much help I know...
>
> Best,
> Erick
>
> On Mon, Oct 17, 2016 at 10:01 AM, Matthew Roth 
> wrote:
> > Hi Group,
> >
> > Is there a documented or preferred path to have a PDF response writer? I
> am
> > using solr 5.3.x for an internal project. I have an XSL-FO transformation
> > that I am able to return via the XSLT response writer. Is there a
> > documented way to produce  a PDF via solr? Alternatively, I was thinking
> of
> > passing the response through an eXist-db instance [0] we have running.
> > However, a pdf response writer would be ideal.
> >
> > Best,
> > Matt
> >
> > [0] http://exist-db.org/
>


For TTL, does expirationFieldName need to be indexed?

2016-10-17 Thread Brent
In my solrconfig.xml, I have:

  

  30
  expire_at
  
  

  

and in my schema, I have:

  

If I change it to indexed="false", will it still work? If so, is there any
benefit to having the field indexed if I'm not using it in any way except to
allow the expiration processor to remove expired documents?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/For-TTL-does-expirationFieldName-need-to-be-indexed-tp4301522.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: For TTL, does expirationFieldName need to be indexed?

2016-10-17 Thread Reth RM
Yes, I think the field has to be indexed. If I understand correctly,
DocExpirationUpdateProcessorFactory uses this field as query field, so it
should be indexed=true.


On Mon, Oct 17, 2016 at 11:35 AM, Brent  wrote:

> In my solrconfig.xml, I have:
>
>   
> 
>   30
>   expire_at
>   
>   
> 
>   
>
> and in my schema, I have:
>
>multiValued="false"/>
>
> If I change it to indexed="false", will it still work? If so, is there any
> benefit to having the field indexed if I'm not using it in any way except
> to
> allow the expiration processor to remove expired documents?
>
>
>
> --
> View this message in context: http://lucene.472066.n3.
> nabble.com/For-TTL-does-expirationFieldName-need-to-
> be-indexed-tp4301522.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: PDF writer

2016-10-17 Thread John Bickerstaff
It's not fun to build a .pdf this way, but this may help...

http://itextpdf.com/

On Mon, Oct 17, 2016 at 12:15 PM, Matthew Roth 
wrote:

> Thanks Erick. That is as anticipated. Scouring my other resources didn't
> indicate the existence of a PDF writer. I thought I'd try the group be
> embarking on a custom solution.
>
>
> Matt
>
> On Mon, Oct 17, 2016 at 11:58 AM, Erick Erickson 
> wrote:
>
> > There's no PDF writer that I know of, and I doubt there's much
> > enthusiasm for creating one as part of Solr. ResponseWriters are
> > pluggable so this would certainly be possible.
> >
> > At root, in a response writer you just have a map of key/value pairs
> > (it's a little more complicated than that, but not much) that you can
> > do whatever you want with, either on Solr or on a SolrJ client.
> >
> > Not much help I know...
> >
> > Best,
> > Erick
> >
> > On Mon, Oct 17, 2016 at 10:01 AM, Matthew Roth 
> > wrote:
> > > Hi Group,
> > >
> > > Is there a documented or preferred path to have a PDF response writer?
> I
> > am
> > > using solr 5.3.x for an internal project. I have an XSL-FO
> transformation
> > > that I am able to return via the XSLT response writer. Is there a
> > > documented way to produce  a PDF via solr? Alternatively, I was
> thinking
> > of
> > > passing the response through an eXist-db instance [0] we have running.
> > > However, a pdf response writer would be ideal.
> > >
> > > Best,
> > > Matt
> > >
> > > [0] http://exist-db.org/
> >
>


Re: Can Solr find related terms in a document

2016-10-17 Thread simon
Do you already have a set of terms for which you would want to find out
their co-occurence, or are you trying to do data mining, looking in a
collection for terms which occur together more often than by chance ?


On Sun, Oct 16, 2016 at 3:45 AM, Yangrui Guo  wrote:

> Hello
>
> I'm curious to know if Solr can correlate the occurrences of two terms.
> E.g. if "Bush administration" and "stupid mistake" often appear in the same
> article, then Solr will think that the two terms are related. Is there a
> way to achieve this?
>
> Yangrui
>


RE: PDF writer

2016-10-17 Thread Markus Jelsma
Did someone miss https://pdfbox.apache.org/ ? It can write PDF documents, is 
ASF and has a ton of examples to learn from.
M.

 
 
-Original message-
> From:John Bickerstaff 
> Sent: Monday 17th October 2016 22:05
> To: solr-user@lucene.apache.org
> Subject: Re: PDF writer
> 
> It's not fun to build a .pdf this way, but this may help...
> 
> http://itextpdf.com/
> 
> On Mon, Oct 17, 2016 at 12:15 PM, Matthew Roth 
> wrote:
> 
> > Thanks Erick. That is as anticipated. Scouring my other resources didn't
> > indicate the existence of a PDF writer. I thought I'd try the group be
> > embarking on a custom solution.
> >
> >
> > Matt
> >
> > On Mon, Oct 17, 2016 at 11:58 AM, Erick Erickson 
> > wrote:
> >
> > > There's no PDF writer that I know of, and I doubt there's much
> > > enthusiasm for creating one as part of Solr. ResponseWriters are
> > > pluggable so this would certainly be possible.
> > >
> > > At root, in a response writer you just have a map of key/value pairs
> > > (it's a little more complicated than that, but not much) that you can
> > > do whatever you want with, either on Solr or on a SolrJ client.
> > >
> > > Not much help I know...
> > >
> > > Best,
> > > Erick
> > >
> > > On Mon, Oct 17, 2016 at 10:01 AM, Matthew Roth 
> > > wrote:
> > > > Hi Group,
> > > >
> > > > Is there a documented or preferred path to have a PDF response writer?
> > I
> > > am
> > > > using solr 5.3.x for an internal project. I have an XSL-FO
> > transformation
> > > > that I am able to return via the XSLT response writer. Is there a
> > > > documented way to produce  a PDF via solr? Alternatively, I was
> > thinking
> > > of
> > > > passing the response through an eXist-db instance [0] we have running.
> > > > However, a pdf response writer would be ideal.
> > > >
> > > > Best,
> > > > Matt
> > > >
> > > > [0] http://exist-db.org/
> > >
> >


Re: PDF writer

2016-10-17 Thread John Bickerstaff
Awesome - I learned something - thanks!

On Mon, Oct 17, 2016 at 3:06 PM, Markus Jelsma 
wrote:

> Did someone miss https://pdfbox.apache.org/ ? It can write PDF documents,
> is ASF and has a ton of examples to learn from.
> M.
>
>
>
> -Original message-
> > From:John Bickerstaff 
> > Sent: Monday 17th October 2016 22:05
> > To: solr-user@lucene.apache.org
> > Subject: Re: PDF writer
> >
> > It's not fun to build a .pdf this way, but this may help...
> >
> > http://itextpdf.com/
> >
> > On Mon, Oct 17, 2016 at 12:15 PM, Matthew Roth 
> > wrote:
> >
> > > Thanks Erick. That is as anticipated. Scouring my other resources
> didn't
> > > indicate the existence of a PDF writer. I thought I'd try the group be
> > > embarking on a custom solution.
> > >
> > >
> > > Matt
> > >
> > > On Mon, Oct 17, 2016 at 11:58 AM, Erick Erickson <
> erickerick...@gmail.com>
> > > wrote:
> > >
> > > > There's no PDF writer that I know of, and I doubt there's much
> > > > enthusiasm for creating one as part of Solr. ResponseWriters are
> > > > pluggable so this would certainly be possible.
> > > >
> > > > At root, in a response writer you just have a map of key/value pairs
> > > > (it's a little more complicated than that, but not much) that you can
> > > > do whatever you want with, either on Solr or on a SolrJ client.
> > > >
> > > > Not much help I know...
> > > >
> > > > Best,
> > > > Erick
> > > >
> > > > On Mon, Oct 17, 2016 at 10:01 AM, Matthew Roth <
> matthew.g.r...@yale.edu>
> > > > wrote:
> > > > > Hi Group,
> > > > >
> > > > > Is there a documented or preferred path to have a PDF response
> writer?
> > > I
> > > > am
> > > > > using solr 5.3.x for an internal project. I have an XSL-FO
> > > transformation
> > > > > that I am able to return via the XSLT response writer. Is there a
> > > > > documented way to produce  a PDF via solr? Alternatively, I was
> > > thinking
> > > > of
> > > > > passing the response through an eXist-db instance [0] we have
> running.
> > > > > However, a pdf response writer would be ideal.
> > > > >
> > > > > Best,
> > > > > Matt
> > > > >
> > > > > [0] http://exist-db.org/
> > > >
> > >
>


Re: Can Solr find related terms in a document

2016-10-17 Thread Yangrui Guo
Looks more like the second case. I want to find pattern between certain
words.

On Monday, October 17, 2016, simon  wrote:

> Do you already have a set of terms for which you would want to find out
> their co-occurence, or are you trying to do data mining, looking in a
> collection for terms which occur together more often than by chance ?
>
>
> On Sun, Oct 16, 2016 at 3:45 AM, Yangrui Guo  > wrote:
>
> > Hello
> >
> > I'm curious to know if Solr can correlate the occurrences of two terms.
> > E.g. if "Bush administration" and "stupid mistake" often appear in the
> same
> > article, then Solr will think that the two terms are related. Is there a
> > way to achieve this?
> >
> > Yangrui
> >
>


Advice on implementing SOLR Cloud

2016-10-17 Thread Sadheera Vithanage
Hello solr experts,

I am new to solr and facing a problem while trying to implement solr cloud
with zoo keeper.

I am having 2 zookeeper instances residing on the same machines as solr
instances(not the best config but to get started).

I got my zookeeper instances and solr instances to work but I am getting an
error as below.


   - *Core_Name:*
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
   Could not load conf for core *Core_Name*: Error loading solr config from
   solrconfig.xml


I had these cores running as a standalone instance before and I haven't
pushed the config to zookeeper.

I am assuming that is the problem, If someone could send me the proper
syntax pushing the config to zookeeper, It would be great, I tried the
syntax on the web but I ddnt get it ryt..

Also, I am unable to create collections from the web ui, it doesn't list
any configurations.


OS: Ubuntu
Solr version: 6.2.0

If I can get a list of setup steps, for this config It will help as well..

Please let me know if you need further clarifications.

Thank you very much.

-- 
Regards

Sadheera Vithanage


Re: Advice on implementing SOLR Cloud

2016-10-17 Thread John Bickerstaff
I had quite a lot of "fun" figuring out how to install Solr Cloud.  Because
it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
Zookeeper folks don't say much about Solr.

I finally put my notes together and posted them online for download.  There
is one in the set called something like 6.1_final.txt and that will contain
a step-by-step way to set up the Solr Cloud.  You can modify for your
situation.

Hope this helps...

https://www.linkedin.com/pulse/actual-solrcloud-vms-zookeeper-nodes-john-bickerstaff?trk=hp-feed-article-title-publish

Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
due to the need to elect a "leader" if one goes down.

>From the zookeeper site: Three ZooKeeper servers is the minimum recommended
size for an ensemble, and we also recommend that they run on separate
machines.

See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html

Virtual box and Linux VMs are free (except for the time to build them) and
you may want to take that route instead of doing everything on the same
machine, but that's up to you...

On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage 
wrote:

> Hello solr experts,
>
> I am new to solr and facing a problem while trying to implement solr cloud
> with zoo keeper.
>
> I am having 2 zookeeper instances residing on the same machines as solr
> instances(not the best config but to get started).
>
> I got my zookeeper instances and solr instances to work but I am getting an
> error as below.
>
>
>- *Core_Name:*
> org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:
>Could not load conf for core *Core_Name*: Error loading solr config from
>solrconfig.xml
>
>
> I had these cores running as a standalone instance before and I haven't
> pushed the config to zookeeper.
>
> I am assuming that is the problem, If someone could send me the proper
> syntax pushing the config to zookeeper, It would be great, I tried the
> syntax on the web but I ddnt get it ryt..
>
> Also, I am unable to create collections from the web ui, it doesn't list
> any configurations.
>
>
> OS: Ubuntu
> Solr version: 6.2.0
>
> If I can get a list of setup steps, for this config It will help as well..
>
> Please let me know if you need further clarifications.
>
> Thank you very much.
>
> --
> Regards
>
> Sadheera Vithanage
>


Re: Advice on implementing SOLR Cloud

2016-10-17 Thread Sadheera Vithanage
Thank you very much John, I fixed it.

Your steps helped big time..

Thanks again..

On Tue, Oct 18, 2016 at 10:17 AM, John Bickerstaff  wrote:

> I had quite a lot of "fun" figuring out how to install Solr Cloud.  Because
> it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
> Zookeeper folks don't say much about Solr.
>
> I finally put my notes together and posted them online for download.  There
> is one in the set called something like 6.1_final.txt and that will contain
> a step-by-step way to set up the Solr Cloud.  You can modify for your
> situation.
>
> Hope this helps...
>
> https://www.linkedin.com/pulse/actual-solrcloud-vms-zookeeper-nodes-john-
> bickerstaff?trk=hp-feed-article-title-publish
>
> Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
> due to the need to elect a "leader" if one goes down.
>
> From the zookeeper site: Three ZooKeeper servers is the minimum recommended
> size for an ensemble, and we also recommend that they run on separate
> machines.
>
> See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html
>
> Virtual box and Linux VMs are free (except for the time to build them) and
> you may want to take that route instead of doing everything on the same
> machine, but that's up to you...
>
> On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage 
> wrote:
>
> > Hello solr experts,
> >
> > I am new to solr and facing a problem while trying to implement solr
> cloud
> > with zoo keeper.
> >
> > I am having 2 zookeeper instances residing on the same machines as solr
> > instances(not the best config but to get started).
> >
> > I got my zookeeper instances and solr instances to work but I am getting
> an
> > error as below.
> >
> >
> >- *Core_Name:*
> > org.apache.solr.common.SolrException:org.apache.solr.
> common.SolrException:
> >Could not load conf for core *Core_Name*: Error loading solr config
> from
> >solrconfig.xml
> >
> >
> > I had these cores running as a standalone instance before and I haven't
> > pushed the config to zookeeper.
> >
> > I am assuming that is the problem, If someone could send me the proper
> > syntax pushing the config to zookeeper, It would be great, I tried the
> > syntax on the web but I ddnt get it ryt..
> >
> > Also, I am unable to create collections from the web ui, it doesn't list
> > any configurations.
> >
> >
> > OS: Ubuntu
> > Solr version: 6.2.0
> >
> > If I can get a list of setup steps, for this config It will help as
> well..
> >
> > Please let me know if you need further clarifications.
> >
> > Thank you very much.
> >
> > --
> > Regards
> >
> > Sadheera Vithanage
> >
>



-- 
Regards

Sadheera Vithanage


Re: Advice on implementing SOLR Cloud

2016-10-17 Thread John Bickerstaff
Excellent!  Glad to know the efforts were useful to someone else.

On Oct 17, 2016 11:20 PM, "Sadheera Vithanage"  wrote:

Thank you very much John, I fixed it.

Your steps helped big time..

Thanks again..

On Tue, Oct 18, 2016 at 10:17 AM, John Bickerstaff  wrote:

> I had quite a lot of "fun" figuring out how to install Solr Cloud.
Because
> it uses Zookeeper, the Solr folks don't say much about Zookeeper and the
> Zookeeper folks don't say much about Solr.
>
> I finally put my notes together and posted them online for download.
There
> is one in the set called something like 6.1_final.txt and that will
contain
> a step-by-step way to set up the Solr Cloud.  You can modify for your
> situation.
>
> Hope this helps...
>
> https://www.linkedin.com/pulse/actual-solrcloud-vms-zookeeper-nodes-john-
> bickerstaff?trk=hp-feed-article-title-publish
>
> Oh, by the way, you MUST have a minimum of 3 Zookeepers as far as I know,
> due to the need to elect a "leader" if one goes down.
>
> From the zookeeper site: Three ZooKeeper servers is the minimum
recommended
> size for an ensemble, and we also recommend that they run on separate
> machines.
>
> See this: https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html
>
> Virtual box and Linux VMs are free (except for the time to build them) and
> you may want to take that route instead of doing everything on the same
> machine, but that's up to you...
>
> On Mon, Oct 17, 2016 at 5:02 PM, Sadheera Vithanage 
> wrote:
>
> > Hello solr experts,
> >
> > I am new to solr and facing a problem while trying to implement solr
> cloud
> > with zoo keeper.
> >
> > I am having 2 zookeeper instances residing on the same machines as solr
> > instances(not the best config but to get started).
> >
> > I got my zookeeper instances and solr instances to work but I am getting
> an
> > error as below.
> >
> >
> >- *Core_Name:*
> > org.apache.solr.common.SolrException:org.apache.solr.
> common.SolrException:
> >Could not load conf for core *Core_Name*: Error loading solr config
> from
> >solrconfig.xml
> >
> >
> > I had these cores running as a standalone instance before and I haven't
> > pushed the config to zookeeper.
> >
> > I am assuming that is the problem, If someone could send me the proper
> > syntax pushing the config to zookeeper, It would be great, I tried the
> > syntax on the web but I ddnt get it ryt..
> >
> > Also, I am unable to create collections from the web ui, it doesn't list
> > any configurations.
> >
> >
> > OS: Ubuntu
> > Solr version: 6.2.0
> >
> > If I can get a list of setup steps, for this config It will help as
> well..
> >
> > Please let me know if you need further clarifications.
> >
> > Thank you very much.
> >
> > --
> > Regards
> >
> > Sadheera Vithanage
> >
>



--
Regards

Sadheera Vithanage