Integrating DictionaryAnnotator and Solr

2014-08-22 Thread mkhordad
Hi, I am trying to integrate DictionaryAnnotator of UIMA to Solr 4.9.0 to find gene names from a dictionary. So I made the following changes. 1. I Modified OverridingParamsExtServicesAE.xml file as follow: : ... ... : 2. Modified the sections for adding DictionaryAnnotator node:

Integrate UIMA and DIH

2014-08-22 Thread paulparsons
Hi, I am trying to integrate UIMA and Solr. I'm following the guide here: https://cwiki.apache.org/confluence/display/solr/UIMA+Integration I'm also already using DIH to import from XML files. Here is what I've added to solrconfig.xml: libraries: UpdateRequestProcessorChain:

Questions about caching and HDFSDirectory

2014-08-22 Thread Michael Della Bitta
I'm looking at the Solr Reference Guide about Solr on HDFS, and it's bringing up a couple of quick questions for me. I guess I got spoiled by MMapDirectory and how magically it worked! 1. What is the minimum number of configuration parameters that enables HDFS block caching? It seems like I need t

RE: Announcing "Splainer" -- Open Source Solr Sandbox

2014-08-22 Thread Doug Turnbull
Ralph good catch. Thanks for the feedback! We should try without highlighting when a query with highlighting fails. In general we want to keep the requirements to a minimum. Right now it looks like highlighting is a requirement, but that shouldn't be the case. Highlighting should only be a value-a

Re: Announcing "Splainer" -- Open Source Solr Sandbox

2014-08-22 Thread ralph tice
What are the dependencies here in terms of solr config? Looks like it's dependent on highlighting at a minimum? I tried the example url and got a 500 with this stack trace once I inspected the response of the generated URI: java.lang.NullPointerException at org.apache.solr.handler.component.High

Re: Announcing "Splainer" -- Open Source Solr Sandbox

2014-08-22 Thread david.w.smi...@gmail.com
Cool Doug! I look forward to digging into this. ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Fri, Aug 22, 2014 at 10:34 AM, Doug Turnbull < dturnb...@opensourceconnections.com> wrote: > Greetings from the OpenSource Connecti

Re: Incorrect group.ngroups value

2014-08-22 Thread Bryan Bende
Turns out there are in fact documents for the same group in different shards which must be causing this problem. It looks like we have a slight flaw in how we were trying to use the composite id routing. Thanks for putting me down the right path. On Fri, Aug 22, 2014 at 11:14 AM, Andrew Shumway

RE: Incorrect group.ngroups value

2014-08-22 Thread Andrew Shumway
The Co-location section of this document http://searchhub.org/2013/06/13/solr-cloud-document-routing/ might be of interest to you. It mentions the need for using Solr Cloud routing to group documents in the same core so that grouping can work properly. --Andrew Shumway -Original Message

Re: Incorrect group.ngroups value

2014-08-22 Thread Bryan Bende
Thanks Jim. We've been using the composite id approach where we put group value as the leading portion of the id (i.e. groupValue!documentid), so I was expecting all of the documents for a given group to be in the same shard, but at least this gives me something to look into. I'm still suspicious

Announcing "Splainer" -- Open Source Solr Sandbox

2014-08-22 Thread Doug Turnbull
Greetings from the OpenSource Connections Team! We're happy to announce we've taken core sandbox of our search relevancy product Quepid and open sourced it as "Splainer" (http://splainer.io). Splainer is a search sandbox that explains search results in a human readable form as you work. By being a

Re: Incorrect group.ngroups value

2014-08-22 Thread jim ferenczi
Hi Bryan, This is a known limitations of the grouping. https://wiki.apache.org/solr/FieldCollapsing#RequestParameters group.ngroups: *WARNING: If this parameter is set to true on a sharded environment, all the documents that belong to the same group have to be located in the same shard, otherwis

Re: Grouping based on multiple filters/criterias

2014-08-22 Thread Umesh Prasad
Solr does support date mathematics in filters / queries . So your timestamps intervals can be dynamic .. On 22 August 2014 05:51, deniz wrote: > umeshprasad wrote > > Grouping supports group by queries. > > > > https://cwiki.apache.org/confluence/display/solr/Result+Grouping > > > > However y

Re: Null pointer exception in spell checker at addchecker method

2014-08-22 Thread nish
Great!! Worked for me too. Thanks a lot -- View this message in context: http://lucene.472066.n3.nabble.com/Null-pointer-exception-in-spell-checker-at-addchecker-method-tp4105489p4154403.html Sent from the Solr - User mailing list archive at Nabble.com.

AW: Help Highlight Snippets Score

2014-08-22 Thread Markus Klose
HI Tomer, I guess you are looking for a different fragment builder. There is one called ScoreOrderFragmentsBuilder which probably is not exact what you need, but at least it orders the snippets by a score. That should work for you http://wiki.apache.org/solr/HighlightingParameters#hl.fragmentsB