tag:blogger.com,1999:blog-8623074010562846957.post3400199152816772098..comments2023-09-01T03:38:08.236-04:00Comments on Changing Bits: Geospatial (distance) faceting using Lucene's dynamic range facetsMichael McCandlesshttp://www.blogger.com/profile/04277432937861334672noreply@blogger.comBlogger16125tag:blogger.com,1999:blog-8623074010562846957.post-18138847426084125072018-11-26T07:37:55.998-05:002018-11-26T07:37:55.998-05:00Great Article
Android Final Year Project Ideas f... Great Article<br /> <a href="http://projectcentersinchennai.co.in/Final-Year-Projects-for-CSE/Final-Year-Projects-for-CSE-Android-Domain" title="Android Final Year Project Ideas for Computer Science" rel="nofollow">Android Final Year Project Ideas for Computer Science</a><br /> <a href="http://projectcentersinchennai.co.in" title="Project Centers in Chennai" rel="nofollow">Project Centers in Chennai</a> <br /> IThttps://www.blogger.com/profile/09147547168712064551noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-3270864739689135112015-09-24T15:41:44.783-04:002015-09-24T15:41:44.783-04:00I found it. Sorry I know this thread is old but it...I found it. Sorry I know this thread is old but it still really helpful. https://lucene.apache.org/core/4_7_0/demo/src-html/org/apache/lucene/demo/facet/DistanceFacetsExample.htmlAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-90687335819592026222015-09-24T15:21:30.867-04:002015-09-24T15:21:30.867-04:00does anyone have a working link to this source cod...does anyone have a working link to this source code. I need to see how the ranges are constructed.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-24952168762555791782014-08-27T08:37:37.681-04:002014-08-27T08:37:37.681-04:00Unfortunately the Lucene facets module has not yet...Unfortunately the Lucene facets module has not yet been integrated into Solr ... perhaps it could be done as a plugin, but I don't have much experience with Solr's plugins...Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-58751216288126751522014-08-07T23:28:28.896-04:002014-08-07T23:28:28.896-04:00Hey Mike, can this dynamic range faceting or Sorte...Hey Mike, can this dynamic range faceting or SortedSetDocValue faceting be done in Solr plugins? How about aggregating faceted counts? How would that adjust the index building and search components to make use of these features?<br />Thanks,<br />-ChrisAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-81758928128760940112014-07-06T06:32:55.819-04:002014-07-06T06:32:55.819-04:00Lucene facets should not take so long and make you...Lucene facets should not take so long and make your eclipse crash! Can you send some details about that to the users list? (java-user@lucene.apache.org).Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-39834343286434612112014-06-03T09:47:56.686-04:002014-06-03T09:47:56.686-04:00Yes I confirm your reply ^^ I spent many days on m...Yes I confirm your reply ^^ I spent many days on my android project, trying to run lucene facets and it takes too long and makes my eclipse crash ^^. <br />Is it the same thing with elasticsearch? Do you know another tool or library that I can use for android? Many thks for your reply.<br />MiriamAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-78182424690827653232014-06-03T06:34:27.884-04:002014-06-03T06:34:27.884-04:00Well, Lucene isn't "officially" supp...Well, Lucene isn't "officially" supported on Android, since Android runs only a subset of Java. That said, it may just work. Try it and see?Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-9571984512315223542014-05-31T18:58:24.413-04:002014-05-31T18:58:24.413-04:00So, I pass Field.Store.YES, after that, I worked w...So, I pass Field.Store.YES, after that, I worked with scoreDocs. I finally retrieve my stored fields with the doc. Thks for your help!<br />Can you give me your opinion about that: I am developing an android app that range by distance articles geolocalized. The app displays the different change of distance: 1km 2km etc.. when users scroll the articles. So I have to range distances and display dynamically articles following the scroll user.<br />Do you think that using lucene facets for my app can be a good solution? <br />Thank you for all the help that you could bring me.<br />Best regards.<br />Miriam.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-81735621865987097742014-05-30T09:26:59.930-04:002014-05-30T09:26:59.930-04:00You could index them as stored fields? (Just pass ...You could index them as stored fields? (Just pass Field.Store.YES when you create the DoubleField), and then retrieve each hit at search time.Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-41916137297271001182014-05-30T08:22:32.849-04:002014-05-30T08:22:32.849-04:00Thanks for your reply.
I've downloaded Distanc...Thanks for your reply.<br />I've downloaded DistanceFacetsExample.java on my eclipse environment and run it.<br />The thing that I don't understand is how can I retrieve latitude/longitude fields after the query? <br />Thank you for your help. MiriamAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-26833976315500081112014-05-30T03:12:01.503-04:002014-05-30T03:12:01.503-04:00Have a look at the lucene/demo module on recent Lu...Have a look at the lucene/demo module on recent Lucene releases: it has DistanceFacetsExample.javaMichael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-5684609187926538442014-05-29T15:57:59.263-04:002014-05-29T15:57:59.263-04:00Hi Michael,
I want to use DrillDownQuery once the...Hi Michael,<br /><br />I want to use DrillDownQuery once the user picks a distance for drill-down. Where can I found some examples? Or can you give some? The examples that' i've found are not always adapted for the new lucene's version 4.7.2. FacetResultNode are not present anymore etc..<br />Thks for your work and for your reply!<br />Miriam.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-21109411615401723252014-01-20T03:39:15.188-05:002014-01-20T03:39:15.188-05:00Thanks for posting Michael. I've been trying t...Thanks for posting Michael. I've been trying to decide between Lucene and mongoDB for geo proximity search for a while. Still on the fence as I haven't done any performance tests, but based on my experience with Lucene I think we may have a winner. ;)Jason Sheedyhttps://www.blogger.com/profile/14503078316763516069noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-13914848805064678222014-01-11T14:20:53.705-05:002014-01-11T14:20:53.705-05:00Hi Chris,
There are different facet methods in th...Hi Chris,<br /><br />There are different facet methods in the facets module; some use the taxonomy index, but others, like dynamic range faceting used here, do not. For dynamic range faceting you just need a source of values (e.g. a previously indexed doc values field, or an expression).<br /><br />There's also SortedSetDocValues faceting, which rely on sorted-set doc values, not the taxonomy index.Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-29244158275311338082014-01-11T14:04:54.708-05:002014-01-11T14:04:54.708-05:00Hey Mike, so quick clarification on the indexing p...Hey Mike, so quick clarification on the indexing portion? I thought from reading the faceted filtering doc that you had to index facets in a separate "taxonomy" index which is then what is used for faceted filtering and faceted counts. Is that not the case here or am I misunderstanding? Great post though, thanks, -ChrisAnonymousnoreply@blogger.com