Getting the doc values grouped by Facets

2015-03-26 Thread Gimantha Bandara
Hi, I have some lucene documents indexed. They contain some facet fields. I wrote some drilldown query and by using getTopChildren, I can get the facet labels and the value/count. I am wondering if it is possible to get the doc values of the documents under each facet. So I can list the documents

Migrating custom queryparser plugin (4.3) to SolCloud ( 5.0)

2015-03-26 Thread Chetan Vora
Hi We're looking to migrate some custome Lucene queryparser plugins and custom request handlers that we wrote with Solr 4.3 to the latest version of Solr. While we're at it, we would also like to move to Solr Cloud. Should we expect these plugins/request handlers to be compatible with the Solr Clo

Re: Would Like to contribute to Lucene

2015-03-26 Thread Adrien Grand
Hi Gimantha, There is no recent book. However, there is some interesting content that you can find about Lucene and Solr internals scattered in blog posts and conference presentations. I would recommend having a look at Mike's blog http://blog.mikemccandless.com/ and videos of Lucene Revolution, A

Re: Filters execution efficiency

2015-03-26 Thread Adrien Grand
Applying a filter with a filtered query works very similarly to a Boolean query with 2 MUST clauses. The query and filter iterators are advanced in a leap-frog fashion in order to compute the intersection. So the filter is neither applied before or after the query but rather at the same time. On W

Re: Filters execution efficiency

2015-03-26 Thread Chris Hostetter
FWIW: If you're reading LIA, part of your confusion may be that Filters, and when/how they are factored into iterating over scorers, has changed significantly over the years. : Date: Fri, 27 Mar 2015 00:45:14 +0100 : From: Adrien Grand : Reply-To: java-user@lucene.apache.org : To: java-user@lu

Re: Would Like to contribute to Lucene

2015-03-26 Thread Erick Erickson
You really have to just pick a problem, dive into the code and learn it bit by bit through exploration. The code base changes fast enough that anything published will be out of date in short order. Here's a suggestion: Take a look at the coverage reports for unit tests, pick some code that doesn't

Spatial Search with Nested Polygons

2015-03-26 Thread Mike Hansen
I was wondering about the feasibility / difficultly of implementing a solution to the following problem with Lucene. For each document, I have a series of nested polygons each associated with a numerical value. My search query gives a point, and I want to return all of the documents whose largest

Re: Spatial Search with Nested Polygons

2015-03-26 Thread david.w.smi...@gmail.com
Hi Mike, The second, (non-easy) part seems like it could be pretty slow: Additionally, I'd like to have access to the > numerical value of the smallest polygon which contains the point > (something like makeDistanceValueSource). To determine “the smallest polygon which contains the point” for t

Re: Spatial Search with Nested Polygons

2015-03-26 Thread Mike Hansen
On Thu, Mar 26, 2015 at 9:06 PM, david.w.smi...@gmail.com wrote: > The second, (non-easy) part seems like it could be pretty slow: > > To determine “the smallest polygon which contains the point” for the > current matching document, you’d have to iterate over them in > smallest-to-largest-1 order