Coder Social home page Coder Social logo

Geospatial Indexing about nitrite-java HOT 17 CLOSED

nitrite avatar nitrite commented on May 26, 2024 1
Geospatial Indexing

from nitrite-java.

Comments (17)

kennywk avatar kennywk commented on May 26, 2024 1

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

Honestly, I don't have any experience with geospatial operations. Care to contribute?

from nitrite-java.

kennywk avatar kennywk commented on May 26, 2024

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

I did not understand what is the "placement" you are referring to.

By the way what is the error you are facing currently with gradle?

from nitrite-java.

kennywk avatar kennywk commented on May 26, 2024

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

For query, you need to create different filters like WithinFilter, NearFilter etc. Take a look into other filters likeAndFilter, EqualFilter etc. You need to create functions like within, near in Filters class also. For special treatment in query you need to modify general query logic in SearchService and IndexedSearchService class. For indexing, take a look into IndexingService class.

For pojos, you need to work on similar classes under objects package.

from nitrite-java.

kennywk avatar kennywk commented on May 26, 2024

from nitrite-java.

kennywk avatar kennywk commented on May 26, 2024

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

Can you please run this below command in the project root dir?

./gradlew clean assemble -x test --info --stacktrace

If it fails, check if you are behind proxy firewall or not. If you are, then provide the proxy information in the command line

./gradlew -Dhttp.proxyHost=<http proxy host> -Dhttp.proxyPort=<http proxy port> -Dhttps.proxyHost=<https proxy host> -Dhttps.proxyPort=<http proxy port> clean assemble -x test --info --stacktrace

If it still fails then let me know the error details here. If the build passes, then you should open your project in either IntelliJ or eclipse. If you face any problem in just opening the project in IDE, you can go through numerous resource on net on how to do that or let me know here.

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

Are you still pursuing this?

from nitrite-java.

kennywk avatar kennywk commented on May 26, 2024

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

Indices in nitrite are just maps stored in database for reverse lookup. These maps are basically MVMaps which implements B+ trees. The same MVMap also stores documents and objects in nitrite. So it is just more maps for indices. You should look at these 3 files to understand its inner working

IndexingService is for indexing the collections. IndexedSearchService is used to search on indexed fields and IndexMetaService stores metadata for indices for easy lookup.

I don't know how indexing works for geospatial data also don't know if it is possible to implement geospatial indexes using maps. But if it helps you can also take a look at the full-text indexing logic here

Let me know if you need anything specific.

from nitrite-java.

kennywk avatar kennywk commented on May 26, 2024

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

I hope things are going well for you. Just wanted to check if you have done any progress on this. Have you considered geohash for the implementation?

from nitrite-java.

kennywk avatar kennywk commented on May 26, 2024

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

Fair enough.

from nitrite-java.

anidotnet avatar anidotnet commented on May 26, 2024

Spatial indexing support has been added to 4.0.0-SNAPSHOTS

from nitrite-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.