Comments (6)
There's something nice about rsolr being extremely lean and hardly pulling in any external dependencies. That said, I'm all for it (and, wrote this code to be pretty easy to copy over, I hope), but I don't know if we even want to use json by default, or exclusively, etc.
from rsolr-json.
I also like the idea of rsolr staying super lean, but I sympathize with jrochkind's concern about the cognitive overhead.
Why though do we want JSON in a Ruby client? I'd think that Ruby would be more performant. Maybe you want to render JSON but don't want the overhead of de-re-serializing?
On a related note... I did consider setting the "wt" param to xml once so that ordered datums (facet_counts) would be indeed, ordered. I wish Solr's json/ruby response writers would return array's of tuples for those types of things and not hash-maps.
from rsolr-json.
There was recently a discussion on the blacklight listserv where some people had some reasons for preferring JSON.
Here's the listserv discussion
I left it thinking json communication between Solr and Blacklight was certainly a reasonable option for someone want, and prob meant sense as an option. I guess cbeer did too, hence this?
from rsolr-json.
Oh, I see now. Thanks for the link/reference. That eval always bothered me
too.
- Matt
On Tue, Jan 21, 2014 at 11:38 PM, Jonathan Rochkind <
[email protected]> wrote:
There was recently a discussion on the blacklight listserv where some
people had some reasons for preferring JSON.Here's the listserv discussionhttps://groups.google.com/forum/#!searchin/blacklight-development/solr%2420json%2420response/blacklight-development/z2mvSWwNXPE/-Dtc4WtKoLgJ
I left it thinking json communication between Solr and Blacklight was
certainly a reasonable option for someone want, and prob meant sense as an
option. I guess cbeer did too, hence this?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1#issuecomment-32992975
.
from rsolr-json.
@mwmitchell : On a related note... I did consider setting the "wt" param to xml once so that ordered datums (facet_counts) would be indeed, ordered. I wish Solr's json/ruby response writers would return array's of tuples for those types of things and not hash-maps.
Check out [json.nl](http://wiki.apache.org/solr/SolJSON)
(although, now that ruby hashes are ordered, maybe it's a moot point?)
from rsolr-json.
Ruby hashes are now ordered? w00t! Maybe that solves all the issues. Long ago I had given some thought to making Solr's Ruby response be smarter about types. See https://issues.apache.org/jira/browse/SOLR-358
from rsolr-json.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsolr-json.