Query multiple collections together

2015-05-10 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, is there a way to query multiple collections together in a single query and return the results in one result set? For example, I have 2 collections and I want to search for records with the word 'solr' in both of the collections. Is there a query to do that, or must I que

Unable to identify why faceting is taking so much time

2015-05-10 Thread Abhishek Gupta
I trying to facet over some data. My query is: http://localhost:9020/search/p1-umShard-1/select?q=*:*&fq=(msgType:38+AND+snCreatedTime:[2015-04-15T00:00:00Z%20TO%20*])&debug=timing&wt=json&rows=0 { - responseHeader: { - status: 0, - QTime: 45 }, - response: { -

Re: Queries on SynonymFilterFactory

2015-05-10 Thread Zheng Lin Edwin Yeo
I've managed to run the synonyms with 10 different synonyms file. Each of the synonym file size is 1MB, which consist of about 1000 tokens, and each token has about 40-50 words. These lists of files are more extreme, which I probably won't use for the real environment, except now for the testing pu

Re: 答复: How to get the docs id after commit

2015-05-10 Thread Erick Erickson
Not something really built into Solr. It's easy enough, at least conceptually, to build in a "batch_id". The idea here would be that every doc in each batch would have a unique id (really, something you changed after each commit). That pretty much requires, though, that you control the indexing car

答复: How to get the docs id after commit

2015-05-10 Thread 李文
Sorry. The "newest" means all the docs that last committed, I need to get ids of these docs to trigger another server to do something. -邮件原件- 发件人: Erick Erickson [mailto:erickerick...@gmail.com] 发送时间: 2015年5月10日 23:22 收件人: solr-user@lucene.apache.org 主题: Re: How to get the docs id after

Re: Solr Multilingual Indexing with one field- Guidance

2015-05-10 Thread Alexandre Rafalovitch
On 8 May 2015 at 04:23, Kuntal Ganguly wrote: > Please provide some guidance This question comes up a lot on the list and has been discussed multiple times. Did you try searching the mailing list for past discussions? E.g. something like: http://search-lucene.com/?q=multilingual+indexing+single+f

Re: Solr in different locations

2015-05-10 Thread Alexandre Rafalovitch
SolrCloud is not for multi-region distribution, the latency will kill you. You may find it useful to review Apple presentation from last Solr Revolution, they discussed bi-derectional message queue for a similar setup: https://youtu.be/_Erkln5WWLw?list=PLU6n9Voqu_1FM8nmVwiWWDRtsEjlPqhgP Regards,

Re: New article on ZK "Poison Packet"

2015-05-10 Thread Siegfried Goeschl
Cool stuff - thanks for sharing Siegfried Goeschl > On 09 May 2015, at 08:43, steve wrote: > > While very technical and unusual, a very interesting view of the world of > Linux and ZooKeeper Clusters... > http://www.pagerduty.com/blog/the-discovery-of-apache-zookeepers-poison-packet/ >

Re: Solr in different locations

2015-05-10 Thread Erick Erickson
This question is much too broad to answer, what progress have you made so far? What have you tried? What problems have you encountered? You might review: http://wiki.apache.org/solr/UsingMailingLists Best, Erick On Sun, May 10, 2015 at 5:32 AM, Moshe Recanati wrote: > Hi, > > We would like ha

Re: How to get the docs id after commit

2015-05-10 Thread Erick Erickson
Not really. It's an ambiguous thing though, what's a "newest" document when a whole batch is committed at once? And in distributed mode, you can fire docs to any node in the cloud and they'll get to the right shard, but order is not guaranteed so "newest" is a fuzzy concept. I'd put a counter in m

Solr in different locations

2015-05-10 Thread Moshe Recanati
Hi, We would like have a system that will run on different regions with same Solr index. These are the regions: 1. Europe 2. Singapore 3. US I would like to know what is the best practice to implement it. If it by implementing SolrCloud please share some basic guidelines on

How to get the docs id after commit

2015-05-10 Thread 李文
Hi, Solr Developers I want to get the newest commited docs in the postcommit event, then nofity the other server which data can be used, but I can not find any way to get the newest docs after commited, so is there any way to do this? Thank you. Wen Li

Re: JSON Facet & Analytics API in Solr 5.1

2015-05-10 Thread Frank li
I figured it out now. It works. "cats" just a name, right? It does not matter what is used. Really appreciate your help. This is going to be really useful. I meant "json.facet". On Sun, May 10, 2015 at 12:13 AM, Frank li wrote: > Here is our SOLR query: > > > http://qa-solr:8080/solr/select?q=t

Re: JSON Facet & Analytics API in Solr 5.1

2015-05-10 Thread Frank li
Here is our SOLR query: http://qa-solr:8080/solr/select?q=type:PortalCase&json.facet={categories:{terms:{field:campaign_id_ls,sort:%27count+asc%27}}}&rows=0 I replaced "cats" with "categories". It is still not working. On Sun, May 10, 2015 at 12:10 AM, Frank li wrote: > Thank you, Yonik! > > L

Re: JSON Facet & Analytics API in Solr 5.1

2015-05-10 Thread Frank li
Thank you, Yonik! Looks cool to me. Only problem is it is not working for me. I see you have "cats" and "cat" in your URL. "cat" must be a field name. What is "cats"? We are doing a POC with facet count ascending. You help is really important to us. On Sat, May 9, 2015 at 8:05 AM, Yonik Seeley