Re: Single query to get the count for all individual collections

2019-01-21 Thread Jens Brandt
Hi, maybe adding &shards.info=true might help. In case of SolrCloud this gives you numFound for each shard. Regards, Jens > Am 10.01.2019 um 04:40 schrieb Zheng Lin Edwin Yeo : > > Hi, > > I would like to find out, is there any way that I can send a single query > to retrieve the numFound f

Re: collection aliasing

2016-01-24 Thread Jens Brandt
Hi, you may, for instance, create one alias for several collections in order to search all of them in one request. Another possibility is to use an alias to switch between collections. Jens > Am 24.01.2016 um 13:44 schrieb vidya : > > Yeah, while querying and indexing also, we can directly u

Re: Highlighting large documents

2015-12-14 Thread Jens Brandt
Hi Edwin, you are limiting the portion of the document analyzed for highlighting in your solrconfig.xml by 100 Thus, snippets are only produced correctly if the query was found in the first 100 characters of the document. If you set this parameter to -1 the original highlighter us

Source address of zookeeper connection

2015-09-08 Thread Jens Brandt
Hi, We have multihomed hosts running solr 5.2.1 as well es external zookeeper instances. In solr.in.sh, the value of SOLR_HOST is set correctly to the hostname with the correct IP address that must be used. However, in the zookeeper logs I find another IP address used as source address for the

Re: Solr 5.2.1 - SolrCloud create collection, core is only loaded after restart

2015-07-08 Thread Jens Brandt
restarting solr the core shows up on the web interface. Best Regards, Jens > Am 07.07.2015 um 12:49 schrieb Jens Brandt : > > Hi Erick, > > thanks for your reply. > > after creating the new collection via CollectionAPI I can see in the solr log > files that the cor

Solr 5.2.1 - SolrCloud create collection, core is only loaded after restart

2015-07-06 Thread Jens Brandt
Hi, I am trying to setup SolrCloud with external zookeeper. Solr 5.2.1 is running on host solrtest at port 8080 and zookeeper already contains a config with the name customerSolr. When I create a new collection using the CollectionAPI by calling the following url: http://solrtest:8080/solr/adm

Escaping in update XML messages

2015-04-16 Thread Jens Brandt
Hi, I am trying to delete some documents from my index by posting XML-messages to the solr. The unique key for the documents in my index is their url. The XML messages look like this: url:"http://example.com/path/file"; For simple urls everything works fine, but if the url contains an '&' like