Giter Club home page Giter Club logo

Comments (3)

epugh avatar epugh commented on August 11, 2024

@sckott I'm just a lurker, but saw your comment. The only way to get back the original style document listing with grouping is to use, assuming the field you are grouping on is batch_id:

group=true&group.field=batch_id&group.format=simple&group.main=true

You will get back one document per grouping, but at least the structure doesn't change!

A colleague of mine who was working on a rich javascript Solr client in AngularJS, actually added a separate mapping layer from what Solr returns to what his application expects. This gave him a place, in the mapping, to change things up when you go from a regular result to a grouping type of result.

from solrium.

sckott avatar sckott commented on August 11, 2024

@epugh Thanks for pointing that out. I guess I was aware of that (that you can get the docs back) but it seems like you can't get back the docs element and the grouping data (or any other elements, like facets, stats, etc.), correct?

from solrium.

sckott avatar sckott commented on August 11, 2024

done now in solr_all(), may need tweaking, but pretty much done

from solrium.

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.