Setting q parameter for fetch Streaming expression

2017-06-13 Thread Zheng Lin Edwin Yeo
Hi, For the Streaming expression on Fetch, is it possible to have set the q parameter for the "addresses" collection? In the below example from the Solr Documentation, it is only setting the q parameter for the "people" collection. I'm using Solr 6.5.1. fetch(addresses, search(people,

RE: Managed Synonyms query

2017-06-13 Thread Sweta Parekh
Hi All, Appreciate if anyone can help to understand index side synonyms implementation Regards, Sweta Parekh Search / CRO - Associate Program Manager From: Sweta Parekh Sent: Monday, June 05, 2017 8:46 PM To: 'solr-user@lucene.apache.org' Subject: Managed Synonyms query Hi All, We are using

Re: Odd Boolean Query behavior in SOLR 3.6

2017-06-13 Thread Erik Hatcher
Inner purely negative queries match nothing. A query is about matching, and skipping over things that don’t match. The fix is when using (-something) to do (*:* -something) to match everything and skip the negative clause items. In your example, try fq=((*:* -documentTypeId:3) AND

Same queries taking more time

2017-06-13 Thread kshitij tyagi
Hi, We are using master slave architecture, here are the observations: 1. Heap size and connections on slave are increasing and leading to more query time. 2. We are noticing on solr admin UI that segment count is huge and also no merging is taking place. 3. We have not made any changes and a

Re: Multi tenant setup

2017-06-13 Thread Zisis T.
We are talking about fewer collections,so that won't be an issue. The problem comes when - using the proposed setup - I want to send a query across all those collections and get properly ranked results. Each collection has its own IDF etc, so the scores are not comparable. This means that most

Odd Boolean Query behavior in SOLR 3.6

2017-06-13 Thread abhi Abhishek
Hi Everyone, I have hit a weird behavior of Boolean Query, when I am running the query with below param’s it’s not behaving as expected. can you please help me understand the behavior here? q=*:*=((-documentTypeId:3)+AND+companyId:29096)=2.2=0=10=on=true èReturns 0 matches

Solr 6: how to get SortedSetDocValues from index by field name

2017-06-13 Thread SOLR4189
How do I get SortedSetDocValues from index by field name? I try it and it works for me but I didn't understand why to use leaves.get(0)? What does it mean? (I saw such using in TestUninvertedReader.java of SOLR-6.5.1): *Map mapping = new HashMap<>();

Re: Setting q parameter for fetch Streaming expression

2017-06-13 Thread Joel Bernstein
Currently you cannot specify a query for fetch. You can filter tuples emitted by fetch by wrapping it in a "having" expression. In the future I think it makes sense to support filter queries with fetch. Joel Bernstein http://joelsolr.blogspot.com/ On Tue, Jun 13, 2017 at 4:46 AM, Zheng Lin

Re: Same queries taking more time

2017-06-13 Thread Erick Erickson
Well, segments won't be merged except during active indexing, specifically when you issue a commit. Do you have any commit settings specified. You can't tell much by raw heap size since you don't control when garbage collections occur. What happens if you attach, say, jconsole to it and force a

Re: Failure to load shards

2017-06-13 Thread John Bickerstaff
Eric, We're using Solr 5.5.4 and aren't really eager to change at this moment... Off the top of your head - what probability that the patch here: https://issues.apache.org/jira/browse/SOLR-10524 ... will work in 5.5.4 with minimal difficulty? For example, were there other classes introduced in

Re: Failure to load shards

2017-06-13 Thread Erick Erickson
John: The patch certainly doesn't apply cleanly to 5.4. that said, there were just a few conflicts so that part doesn't look too bad. I don't know anyone who has actually backported it that far so it's unexplored territory. Note that the patch was generated for 6x which requires Java 1.8 whereas

Multi tenant setup

2017-06-13 Thread Zisis T.
I'm trying to setup a multi-tenant Solr cluster (v6.5.1) which must meet the following requirements. The tenants are different customers with similar type of data. * Ability to query per client but also across all clients * Don't want to hit all shards for all type of requests (per client, across

Re: Multi tenant setup

2017-06-13 Thread Susheel Kumar
Going with single cluster having multiple collections (for each client) is what I would try. How many clients do you have? If 10K, mean 10K collections and then how many documents, their size etc. you will need to come up with to nail down #machines and their memory/cpu requirements. Going with