Giter Site home page Giter Site logo

sis's People

Contributors

mzasada avatar

Watchers

 avatar

sis's Issues

Fetch search+update handlers from SolrCloud

Cluster state should contain information about search/update handlers, so that we wouldn't need to hardcode default endpoints. solrconfig.xml files from all collections can be downloaded through /admin/file handlers.

Add collection.stats() operation

Following mongoDB shell convention, it might look like sc.collection.stats(). For start it should use:

  • all the data available from the ReplicationHandler
  • document count from search handler http://localhost:8983/solr/collection/select?q=*:*&rows=0 or http://localhost:8983/solr/admin/cores?action=STATUS&wt=json&indent=on&omitHeader=on%20&memory=true

Add basic findOne operation

Following mongoDB shell convention, it might look like sc.collection.findOne(<criteria>) but for starters it'd be very simplified:

  • no field projection
  • no sorting
  • no skip/limit (not without deep paging)

More informative output after sucessful writes.

Current implementation prints Solr response directly, which is not very clear, e.g.
{"responseHeader":{"status":0.0,"QTime":13.0}}
It'd be useful to at least reduce some noise, change keys to be more readable and translate status codes.

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.