Re: Spatial Search with Nested Polygons
On Fri, Mar 27, 2015 at 12:27 AM, Mike Hansen wrote: > There are a few things which could probably help with performance. > Each document has only around say 30 polygons. You could do a binary > search which would help reduce the cost. Additionally, I have a > distinguished point contained inside of all the nested polygons so I > can pre-compute the minimum and maximum distances from that point to > the edge of the polygon and use that to also reduce the number of > containment checks to do. I expect that there will be on the order to > 500-1000 documents considered for each search. > Oh right, they are *nested*; I overlooked that. I like your binary-search plan — makes sense. ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley
Re: Would Like to contribute to Lucene
+1 for starting with unit tests - they show you how things work, give you something to step through in the debugger, are (or should be!) always current, and are a great place to start for contributing code, like improving coverage and optimizing coverage. Commenting code and enhancing the Javadoc is always a great contribution. -- Jack Krupansky On Thu, Mar 26, 2015 at 8:15 PM, Erick Erickson wrote: > 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 have coverage and write a test. > Believe me, that'll get you familiar with _something_ pretty quickly, > and something like that provides a focus. It's a mistake to try to > understand all of Lucene IMO, that'll take years. > > FWIW, > Erick > > On Thu, Mar 26, 2015 at 4:42 PM, Adrien Grand wrote: > > 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, ApacheCon and BerlinBuzzwords which regularly get a fair > > amount of Lucene/Solr-related talks. > > > > On Fri, Mar 13, 2015 at 6:54 AM, Gimantha Bandara > wrote: > >> Hi all, > >> > >> I am willing to contribute to Lucene project. I have already been > referring > >> to "Lucene in Action" 2nd edition recently. But I think it is outdated. > It > >> is based on lucene 3.0.x I guess. Even through online resources, it is > very > >> hard to learn the internals of lucene because of the lack of up-to-date > >> resources. Can someone recommend a recently released book on lucene > >> internals or has someone planned to write one? What would be the > starting > >> point if I need to learn the internals of Lucene? > >> > >> Thanks, > >> > >> -- > >> Gimantha Bandara > >> Software Engineer > >> WSO2. Inc : http://wso2.com > >> Mobile : +94714961919 > > > > > > > > -- > > Adrien > > > > - > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > - > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >
Re: Would Like to contribute to Lucene
Hi all, Thanks a lot for your suggestions! I believe the current lucene code repository is https://github.com/apache/lucene-solr/tree/trunk/lucene On Sat, Mar 28, 2015 at 5:49 AM, Jack Krupansky wrote: > +1 for starting with unit tests - they show you how things work, give you > something to step through in the debugger, are (or should be!) always > current, and are a great place to start for contributing code, like > improving coverage and optimizing coverage. Commenting code and enhancing > the Javadoc is always a great contribution. > > > -- Jack Krupansky > > On Thu, Mar 26, 2015 at 8:15 PM, Erick Erickson > wrote: > > > 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 have coverage and write a test. > > Believe me, that'll get you familiar with _something_ pretty quickly, > > and something like that provides a focus. It's a mistake to try to > > understand all of Lucene IMO, that'll take years. > > > > FWIW, > > Erick > > > > On Thu, Mar 26, 2015 at 4:42 PM, Adrien Grand wrote: > > > 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, ApacheCon and BerlinBuzzwords which regularly get a fair > > > amount of Lucene/Solr-related talks. > > > > > > On Fri, Mar 13, 2015 at 6:54 AM, Gimantha Bandara > > wrote: > > >> Hi all, > > >> > > >> I am willing to contribute to Lucene project. I have already been > > referring > > >> to "Lucene in Action" 2nd edition recently. But I think it is > outdated. > > It > > >> is based on lucene 3.0.x I guess. Even through online resources, it is > > very > > >> hard to learn the internals of lucene because of the lack of > up-to-date > > >> resources. Can someone recommend a recently released book on lucene > > >> internals or has someone planned to write one? What would be the > > starting > > >> point if I need to learn the internals of Lucene? > > >> > > >> Thanks, > > >> > > >> -- > > >> Gimantha Bandara > > >> Software Engineer > > >> WSO2. Inc : http://wso2.com > > >> Mobile : +94714961919 > > > > > > > > > > > > -- > > > Adrien > > > > > > - > > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > > > > - > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > > -- Gimantha Bandara Software Engineer WSO2. Inc : http://wso2.com Mobile : +94714961919