Block join children query parser returns "Parent query yields document which is not matched by parents filter"

2015-08-11 Thread MOIS Martin (MORPHO)
Hello, currently I am evaluating the block join children query parser. But it always returns "Parent query yields document which is not matched by parents filter". What I have done so far: I have added the _root_ field to the schema: . I have created a collection: curl http://localhost:8983/so

Re: (possible)SimplePostTool problem --(Windows, Bitnami distribution)

2015-08-11 Thread pai911
*Dauto=yes* works great! Looks like we need another version of quick-start (http://lucene.apache.org/solr/quickstart.html) for developers who use SimplePostTool! My complete command line is: java -Dc=gettingstarted -Dauto=yes -jar example/exampledocs/post.jar D:\dev\solr\example\exampledocs

Re: Streaming API running a simple query

2015-08-11 Thread Selvam
Hi All, I have written a blog to cover this nested merge expressions, see http://knackforge.com/blog/selvam/solr-streaming-expressions for more details. Thanks. On Mon, Aug 10, 2015 at 3:51 PM, Selvam wrote: > Hi, > > Thanks, that seems to be working! > > On Sat, Aug 8, 2015 at 9:28 PM, Joel B

Re: Choosing the order of the fields to be displayed at output

2015-08-11 Thread Shawn Heisey
On 8/11/2015 9:36 PM, Zheng Lin Edwin Yeo wrote: > I'm using Solr 5.2.1. I understand that for JSON format, Solr writes out > the fields of each document in the order they are found in the index as it > is the fastest and most efficient for Solr to return the data. > > However, this causes confusi

Choosing the order of the fields to be displayed at output

2015-08-11 Thread Zheng Lin Edwin Yeo
Hi, I'm using Solr 5.2.1. I understand that for JSON format, Solr writes out the fields of each document in the order they are found in the index as it is the fastest and most efficient for Solr to return the data. However, this causes confusion as each of the records has fields arranged in diffe

Re: Highlighting

2015-08-11 Thread Erick Erickson
bq: Erick Erickson surely likes your e-mail domain :) Yep, I envy that one! On Tue, Aug 11, 2015 at 6:27 PM, Erik Hatcher wrote: > Scott - doesn’t look you’ve specified hl.fl specifying which field(s) to > highlight. > > p.s. Erick Erickson surely likes your e-mail domain :) > > > — > Erik Hatc

Re: Highlighting

2015-08-11 Thread Erik Hatcher
Scott - doesn’t look you’ve specified hl.fl specifying which field(s) to highlight. p.s. Erick Erickson surely likes your e-mail domain :) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Aug 11, 2015, at 9:02 PM, Scott Derrick wrote: >

Re: Filter Out Facet Results

2015-08-11 Thread Erik Hatcher
One solution is to filter these out at indexing time. The StopFilter with a custom stop list file could do the trick - you’ll probably need to adjust your field type definition to be a TextField instead of a StrField, use a KeywordTokenizer and then a StopFilter. — Erik Hatcher, Senior Solutio

Highlighting

2015-08-11 Thread Scott Derrick
I guess I really don't get Highlighting in Solr. We are transitioning from Google Custom Search which generally sucks, but does return nicely formatted highlighted fragment. I turn highlighting on hl=true in the query and I get a highlighting section returned at the bottom of the page, each i

Re: Using the date field for searching

2015-08-11 Thread Scott Derrick
Sagar, thanks, Scott Original Message Subject: Re: Using the date field for searching From: Bade, Vidya (Sagar) To: solr-user@lucene.apache.org Date: 08/11/2015 03:05 PM You can use filter query and form the date as follows when a user enters just the year or year and mon

Cross core join

2015-08-11 Thread Nagasharath
I have a scenario(we are badly affected) where I have to join two cores of two different nodes. I knew that there is a jira (https://issues.apache.org/jira/plugins/servlet/mobile#issue/SOLR-7090) open in support of this, is there any alternate solution that I can work around until this gets r

Re: (possible)SimplePostTool problem --(Windows, Bitnami distribution)

2015-08-11 Thread Erik Hatcher
What was the actual command-line used for the failing attempts? Try using -Dauto=yes (java -Dauto=yes -Dc=tika -jar post.jar ….) Check out “post.jar -h” for more details on command-line options. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com

RE: Using the date field for searching

2015-08-11 Thread Bade, Vidya (Sagar)
You can use filter query and form the date as follows when a user enters just the year or year and month: If just the year (1885) was entered -> date:[1885-01-01T00:00:00Z TO 1886-01-01T00:00:00Z] If just the year and month (1885-06) were entered -> date:[1885-06-01T00:00:00Z TO 1885-07-01T00:0

Re: Solr MLT with stream.body returns different results on each shard

2015-08-11 Thread Chris Hostetter
: I have a fresh install of Solr 5.2.1 with about 3 million docs freshly : indexed (I can also reproduce this issue on 4.10.0). When I use the Solr : MorelikeThisHandler with content stream I'm getting different results per : shard. I haven't looked at the code recently but i'm 99% certain that t

Re: SOLR Physical Memory leading to OOM

2015-08-11 Thread rohit
Thanks Shawn a lot !!. Just wanted to clarify we have solrCloud so when doing my testing its not a single server where im hitting. I have multiple servers. At a time we have 4 leaders n 4 replicas which are communicated using zookeeper. So, in total we have 8 servers and zookeeper is install on

Using the date field for searching

2015-08-11 Thread Scott Derrick
If I query date:1885 I get an error org.apache.solr.common.SolrException: Invalid Date String:'1885' If I query date:1885* I get no results. and yet there are numerous docs with a year of 1885 in the date string, like so 1885-02-08T00:00:00Z if I query date:1885-02-08T00:00:00Z I get 9 r

Solr MLT with stream.body returns different results on each shard

2015-08-11 Thread Aaron Gibbons
I have a fresh install of Solr 5.2.1 with about 3 million docs freshly indexed (I can also reproduce this issue on 4.10.0). When I use the Solr MorelikeThisHandler with content stream I'm getting different results per shard. I also looked at using a standard MLT query, but I need to be able to str

Re: Deadlock-like behavior when new IndexWriter created

2015-08-11 Thread Erick Erickson
Hmm, it would be _really_ helpful if next time it happens you could get a stack trace (see jstack, should have come with your Java). As it happens we're chasing another deadlock and it'd be interesting to see if they're related. Thanks! Erick On Tue, Aug 11, 2015 at 1:12 AM, Andrii Berezhynskyi

Re: Solr old log files are not archived or removed automatically.

2015-08-11 Thread Shawn Heisey
On 8/11/2015 3:10 AM, Adrian Liew wrote: > Hi Erick, > > 1> how did you install/run your Solr? As a service or "regular"? See > the reference guide, "Permanent Logging Settings" for some info on the > difference there. > > What is the difference between "regular" or "service"? On certain operat

Re: Performance warning overlapping onDeckSearchers

2015-08-11 Thread Shawn Heisey
On 8/11/2015 3:02 AM, Adrian Liew wrote: > Has anyone come across this issue, [some_index] PERFORMANCE WARNING: > Overlapping onDeckSearchers=2? > > I am currently using Solr v5.2.1. > > What does this mean? Does this raise red flags? > > I am currently encountering an issue whereby my Sitecore

Re: SOLR Physical Memory leading to OOM

2015-08-11 Thread Shawn Heisey
On 8/10/2015 7:07 PM, rohit wrote: > Thanks Shawn. I was looking at SOLR Admin UI and also using top command on > server. The amount of free memory shown by tools like that is not a very good way to determine what's happening with your memory. As I said before, it's completely normal for the OS

Re: (possible)SimplePostTool problem --(Windows, Bitnami distribution)

2015-08-11 Thread pai911
Hi there! I encountered the same problem as you did Have you found the answer yet? Would be really thankful if you could share ur experience! Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/possible-SimplePostTool-problem-Windows-Bitnami-distribution-tp4199980p42

Re: Count of distinct values in faceting.

2015-08-11 Thread Modassar Ather
Please read docVlaues as docValues in my mail above. Regards, Modassar On Tue, Aug 11, 2015 at 4:01 PM, Modassar Ather wrote: > Hi, > > Count of distinct values can be retrieved by following ways. Please note > that the Solr version is 5.2.1. > 1. Using cardinality=true. > 2. Using hll() facet

Count of distinct values in faceting.

2015-08-11 Thread Modassar Ather
Hi, Count of distinct values can be retrieved by following ways. Please note that the Solr version is 5.2.1. 1. Using cardinality=true. 2. Using hll() facet function. Kindly help me understand: 1. How accurate are them comparatively and better performance wise with millions of documents? 2. Per

RE: Solr old log files are not archived or removed automatically.

2015-08-11 Thread Adrian Liew
Hi Erick, 1> how did you install/run your Solr? As a service or "regular"? See the reference guide, "Permanent Logging Settings" for some info on the difference there. What is the difference between "regular" or "service"? 2> what does your log4j.properties file look like? Here are the content

RE: SolrNet and deep pagination

2015-08-11 Thread Adrian Liew
Thanks Chris. We opted to use v0.5 which is an alpha version. And yes you I should be referring the SolrNet Google Group. Thanks for your help. Regards, Adrian -Original Message- From: Chris Hostetter [mailto:hossman_luc...@fucit.org] Sent: Tuesday, August 11, 2015 5:17 AM To: solr-use

Performance warning overlapping onDeckSearchers

2015-08-11 Thread Adrian Liew
Hi there, Has anyone come across this issue, [some_index] PERFORMANCE WARNING: Overlapping onDeckSearchers=2? I am currently using Solr v5.2.1. What does this mean? Does this raise red flags? I am currently encountering an issue whereby my Sitecore system is unable to update the index appropr

Deadlock-like behavior when new IndexWriter created

2015-08-11 Thread Andrii Berezhynskyi
Hi, I have solr5.2.1 set up in master-slave configuration. Very often it happens that solr slave starts replicating (I can see it in admin panel) but it is getting stuck at 0% and never proceeds further. Usually restart of slave helps. Relevant logs from slave: INFO - 2015-08-11 07:56:00.184; o

Re: Cluster down for long time after zookeeper disconnection

2015-08-11 Thread danny teichthal
1. Erik, thanks, I agree that it is really serious, but I think that the 3 minutes on this case were not mandatory. On my case it was a deadlock, which smells like some kind of bug. One replica is waiting for other to come up, before it takes leadership, while the other is waiting for the election

Re: Core mismatch in org.apache.solr.update.StreamingSolrClients Errors for ConcurrentUpdateSolrClient

2015-08-11 Thread deniz
thanks for the details Anshum :) I got one more question, could this kind of error logging might be also triggered by the amount of incoming requests? I can see these errors only on prod env, but testing env is totally fine, although the creation process is exactly the same - Zeki ama calis

Re: Core mismatch in org.apache.solr.update.StreamingSolrClients Errors for ConcurrentUpdateSolrClient

2015-08-11 Thread Anshum Gupta
It's not entirely invalid but the only supported mechanism to create collections is via the Collections admin API: https://cwiki.apache.org/confluence/display/solr/Collections+API On Mon, Aug 10, 2015 at 11:53 PM, deniz wrote: > okay, to make everything clear, here are the steps: > > - Creati