Re: SolrJ and Solr web simultaneously?

2009-08-26 Thread Smiley, David W.
Once a commit occurs, all data added before it (by any all clients) becomes visible to all searches henceforth. The web interface has direct access to Solr, and SolrJ remotely accesses that Solr. SolrEmbeddedSolrServer is something that few people should actually use. It's mostly for

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Francis Yakin
To: solr; Paul Tomblin Subject: Re: SolrJ and Solr web simultaneously? Once a commit occurs, all data added before it (by any all clients) becomes visible to all searches henceforth. The web interface has direct access to Solr, and SolrJ remotely accesses that Solr. SolrEmbeddedSolrServer

Re: SolrJ and Solr web simultaneously?

2009-08-26 Thread Smiley, David W.
, 2009 10:23 AM To: solr; Paul Tomblin Subject: Re: SolrJ and Solr web simultaneously? Once a commit occurs, all data added before it (by any all clients) becomes visible to all searches henceforth. The web interface has direct access to Solr, and SolrJ remotely accesses that Solr

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Fuad Efendi
Subject: RE: SolrJ and Solr web simultaneously? I have the same situation now. If I don't want to use http connection, so I need to use EmbeddedSolrServer that what I think I need correct? We have Master/slaves solr, the applications use slaves for search. The Master only taking the new index from

Re: SolrJ and Solr web simultaneously?

2009-08-26 Thread Avlesh Singh
Is Solr like a RDBMS in that I can have multiple programs querying and updating the index at once, and everybody else will see the updates after a commit, or do I have to something explicit to see others updates? Yes, everyone gets to search on an existing index unless writes to the index

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Fuad Efendi
between SOLR and DB? Diversify, lower risks, having SOLR and DB on same box is extremely unsafe... -Fuad -Original Message- From: Francis Yakin [mailto:fya...@liquid.com] Sent: August-26-09 2:25 PM To: 'solr-user@lucene.apache.org' Subject: RE: SolrJ and Solr web simultaneously? Thanks

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Francis Yakin
Subject: RE: SolrJ and Solr web simultaneously? Do you have firewall between DB and possible SOLR-Master instance? Do you have firewall between Client application and DB? Such configuration is strange... by default firewalls allow access to port 80, try to set port 80 for SOLR-Tomcat and/or configure

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Fuad Efendi
, with specific dependencies... -Original Message- From: Francis Yakin [mailto:fya...@liquid.com] Sent: August-26-09 4:18 PM To: 'solr-user@lucene.apache.org' Subject: RE: SolrJ and Solr web simultaneously? We already opened port 80 from solr to DB so that's not the issue, but httpd(port 80

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Fuad Efendi
I just worried that http will be a bottle neck, that's why I prefer JDBC connection method. - JDBC is a library for Java Application; it connects to Database; it uses proprietary protocol provided by DB vendor in most cases, and specific port number - SolrJ is a library for Java Application; it

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Francis Yakin
Message- From: Fuad Efendi [mailto:f...@efendi.ca] Sent: Wednesday, August 26, 2009 1:34 PM To: solr-user@lucene.apache.org Subject: RE: SolrJ and Solr web simultaneously? With this configuration probably preferred method is to run standalone Java application on same box as DB, or very close to DB

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Francis Yakin
Thanks for the response. I will try CommonsHttpSolrServer for now. Francis -Original Message- From: Fuad Efendi [mailto:f...@efendi.ca] Sent: Wednesday, August 26, 2009 1:34 PM To: solr-user@lucene.apache.org Subject: RE: SolrJ and Solr web simultaneously? With this configuration

RE: SolrJ and Solr web simultaneously?

2009-08-26 Thread Fuad Efendi
Frankly, I never tried any DIH... probably it is the best option for this specific case (they have Java developer) - but one should be knowledgeable enough to design SOLR schema... And I noticed here (and also at HBase mailing list) many first-time users are still thinking in terms of