Giter Site home page Giter Site logo

elasticsearch.net's Issues

Querying Geo locations

Hi, I was looking for a .net api to elastic search and found this project. I have a question though. I need to use geo location search for distance. How can I do that with this library?

Thanks for this library!

Jack

Version Exposed as an Int32 Type

While indexing documents into Elasticsearch, I can pass an external version with the document being indexed. The reason I want to do this is because I can get various versions of the same document in a span of few seconds or even quicker than that and there is no way I can control the order in which these versions get indexed.

To make sure the index always reflects latest state of the document, I thought I could use the last modified datetime stamp in the document, convert it to a sortable datetime integer (e.g. dateTime.ToString("yyyyMMddHHmmssFFF") gives me 20140427101814673) and pass it on to Elasticsearch as an external version when indexing a document.

Elasticsearch provides a very clean versioning capability that fits nicely into my requirement - the problem however is that Elasticsearch.NET limits this functionality by exposing version as an integer based type which cannot take the large numbers I am trying to pass.

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.