Re: Return parent's records which has more than certain number of childs

2016-08-31 Thread Alexandre Rafalovitch
On 1 September 2016 at 08:50, Zheng Lin Edwin Yeo wrote: > When searching for children you can assign ^=1 per every hit, then > you can aggregate these hits with {!parent ... score=total}, then > you can cut off parents exceeding number of child limit with {!frange}. > > -

Re: Return parent's records which has more than certain number of childs

2016-08-31 Thread Zheng Lin Edwin Yeo
Thanks for your reply Alexandre and Mikhail. If you are indexing the parent/child as a block, then you know number of children when you are indexing parent and can store that as a field. That would be most efficient. - I can achieve that when I do my re-indexing. When searching for children

Re: Default Field Cache

2016-08-31 Thread Rallavagu
But, the configuration is commented out (disabled). As comments section mentioned "The fieldValueCache is created by default even if not configured here" I would like to know what would be the configuration of default fieldValueCache created. On 8/31/16 6:37 PM, Zheng Lin Edwin Yeo wrote:

Re: Default Field Cache

2016-08-31 Thread Zheng Lin Edwin Yeo
If I didn't get your question wrong, what you have listed is already the default configuration that comes with your version of Solr. Regards, Edwin On 30 August 2016 at 07:49, Rallavagu wrote: > Solr 5.4.1 > > > > > Wondering what is the default configuration for

threads blocked in LRUcache.get() in solr 5.5.2

2016-08-31 Thread elisabeth benoit
Hello, We are migrating from solr 4.10.1 to solr 5.5.2. We don't use solr cloud. We installed the service with installation script and kept the default configuration, except for a few settings about logs and the gc config (the same used with solr 4.10.1). We tested today the performances of

can't seem to get delta imports to work.

2016-08-31 Thread Stahle, Patrick
Hi, I am having problems getting the delta import working. Full import works fine. I am using current version of solr (6.1). I have been looking at this pretty much all day and can't find what I am not doing correctly... I did try the Using query attribute for both full and delta import and

Re: Mailing list subscriptions

2016-08-31 Thread John Bickerstaff
On that page, look for an "options" link. Choose "subscribe via email" and there will be some options to choose. At least that's all I've been able to find. It doesn't allow "only threads I've started" but it does allow a once-a-day summary and a few other choices... On Wed, Aug 31, 2016 at

RE: solrcloud 6.0.1 any suggestions for fixing a replica that stubbornly remains down

2016-08-31 Thread Jon Hawkesworth
For what it's worth we have basic auth enabled on our cluster, just in case that might make a difference, although it seems unlikely as it seems to something about shard1 as the other shards appear healthy. Jon -Original Message- From: Jon Hawkesworth Sent: Wednesday, August 31, 2016

RE: solrcloud 6.0.1 any suggestions for fixing a replica that stubbornly remains down

2016-08-31 Thread Jon Hawkesworth
A little more information - I spotted this in the logging: Error while trying to recover. core=documents_shard1_replica2:java.util.concurrent.ExecutionException: org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://10.201.19.8:8983/solr: I was asked

Re: query issue

2016-08-31 Thread Emir Arnautovic
Hi Kris, It is because there is no token 'ddd' in content field. There are tokens that start with 'ddd', but that is not what you asked for. If you want 'ddd' to match 'd' than your query should be content:ddd* Please take a look at how Solr tokenization works:

query issue

2016-08-31 Thread KRIS MUSSHORN
SOLR 5.4.1. Executing query content:ddd on the core below in the solr web interface returns no documents but query content:Dispatches returns doc 1. Why does the first query return no documents? Doc 1 { "id":"https://snip/inside/news/dispatches/view.cfm?id=2571;,

RE: solrcloud 6.0.1 any suggestions for fixing a replica that stubbornly remains down

2016-08-31 Thread Jon Hawkesworth
Just to follow up on this. Sorry its taken a while but need for a downtime window has slowed things down somewhat. So the index checker didn't find any errors on either replica of the shard which refused to come out of Down state. By deleting the down replica, stopping all the solr nodes,

Re: Spike in SOLR Process and Frequent GC

2016-08-31 Thread Shawn Heisey
On 8/30/2016 10:28 PM, Thiru M wrote: > What part of the information you obtained represents a problem in your mind? > > · Information obtained from top and the SOLR GC log in the *linux-a* > server > > · Allocated max heap size is 2 GB. Based on the jConsole monitor h*eap > usage

Re: Mailing list subscriptions

2016-08-31 Thread jennifer.coston
Hi, I had the same question and went to the link provided where I can see my account information but I don't see a setting to only get messages I ask. Can you please provide more directions? Thank you! -Jennifer -- View this message in context:

Re: SolrCloud: A previous ephemeral live node still exists

2016-08-31 Thread Chris Rogers
Thanks Alan, This turned out to be the problem. I was trying to connect to Zookeeper with the command: bin/solr start -c -z 172.28.128.3:2181 with all of the nodes. So I think all the hostnames where defaulting to localhost. Specifying the hostname and port with the –h command fixed the

Re: Is it possible to grant privilege of collections to special users?

2016-08-31 Thread Jan Høydahl
Have you read this chapter in the refGuide? https://cwiki.apache.org/confluence/display/solr/Rule-Based+Authorization+Plugin -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 31. aug.

Re: Migrate data from solr4.9 to solr6.1

2016-08-31 Thread Jan Høydahl
Your best option would be to setup a new SolrCloud cluster on 6.2, upgrading various features to use new Field Types, DocValues etc and then reindex from scratch. If you simply want to stick with exactly the same index and feature set as before, you would need to keep luceneMatchVersion at 4.9

Re: Spike in SOLR Process and Frequent GC

2016-08-31 Thread Emir Arnautovic
Hi Thiru, Two Solrs with different data and usage patterns should be tuned separately and comparing one to another does not give much value. Like Shawn suggested, first thing that you can try is increase heap size. Having different Xms and Xmx is bad practice so make sure it is set to the

Re: Sorting on different language fields

2016-08-31 Thread Emir Arnautovic
Ugh... Never used this approach and was thinking that sort can take a function that returns string, but it requires function that returns double so you would need to provide function that returns double representation of string. With such function you could do:

RE: cannot override coord(int,int) in org.apache.lucene.search.similarities.PerFieldSimilarityWrapper

2016-08-31 Thread Markus Jelsma
Oh forget it, i missed it completely! LUCENE-7395, SOLR-9315: Fix PerFieldSimilarityWrapper to also delegate query norm and coordination factor using a default similarity added as ctor param. (Uwe Schindler, Sascha Markus) Sorry -Original message- > From:Markus Jelsma

cannot override coord(int,int) in org.apache.lucene.search.similarities.PerFieldSimilarityWrapper

2016-08-31 Thread Markus Jelsma
Hi - I get this compile error when upgrading a Maven project to Solr 6.2.0 and i cannot find a reference in CHANGES.txt. Any ideas? Thanks, Markus cannot override coord(int,int) in org.apache.lucene.search.similarities.PerFieldSimilarityWrapper

RE: SolrCloud: A previous ephemeral live node still exists

2016-08-31 Thread Jon Hawkesworth
Hi Chris, Not had this myself but is it possible there is still a 6.1 instance running on your solr nodes (which happened on my first attempt to update 6.1 to 6.2 yesterday)? So check for running java processes. Hope this helps, Jon -Original Message- From: Chris Rogers

Re: SolrCloud: A previous ephemeral live node still exists

2016-08-31 Thread Alan Woodward
It looks as though all four nodes are trying to register with ZK using the same hostname and port number - possibly they're all connecting as 'localhost'? Alan Woodward www.flax.co.uk On 31 Aug 2016, at 09:34, Chris Rogers wrote: > Just pinging this again as I sent it late last night. Would

RE: SolrCloud: A previous ephemeral live node still exists

2016-08-31 Thread Chris Rogers
Just pinging this again as I sent it late last night. Would be great if someone could help with this. It's got me totally stumped... Chris Rogers Digital Projects Manager Bodleian Digital Library Systems and Services chris.rog...@bodleian.ox.ac.uk From:

Re: Sorting on different language fields

2016-08-31 Thread Vasu Y
Thank you Emir. That was helpful. I understand that we can make sure all doc have values in all fields at indexing time. But if that's not possible, how can we make sure all docs have values in all fields query time? If we missed to provide value for certain fields at index time, how can we ensure

Re: Solr for Multi Tenant architecture

2016-08-31 Thread Emir Arnautovic
HI Chamil, One thing to consider is relevancy, especially in case tenants' domains are different (e.g. one is tech and other pharmacy). If you go with one collection and use same field (e.g. desc) for all tenants, you will get one field stats and could skew results ordering if you order by

Re: Sorting on different language fields

2016-08-31 Thread Emir Arnautovic
Hi Vasu, It is expected behavior, and you can control it with sortMissingLast and sortMissingFirst. Here is comment from schema: In any case it does not seem right to me to have results first just because it is declared as French - in some cases it will be same as English version and

Re: Modifying fl in QParser

2016-08-31 Thread Erik Hatcher
And it's not necessary to override QueryComponent to set params. I think I'd add a first-params SearchComponent, so you're decoupling and plugging in extra behavior rather than overriding kinda the heart of Solr. Erik > On Aug 30, 2016, at 21:42, Rohit Kanchan

Sorting on different language fields

2016-08-31 Thread Vasu Y
Hi, We are indexing a set objects with fields like objectName, objectDescription etc. All the objects have objectName specified in English language; some objects also have their name specified in an additional language like French and indexed to objectName_fr field. When we query from SOLR, we