kennyj / java_bin Goto Github PK
View Code? Open in Web Editor NEWApache Solr JavaBin format (binary format) implementation for Ruby
Home Page: http://github.com/kennyj/java_bin
License: MIT License
Apache Solr JavaBin format (binary format) implementation for Ruby
Home Page: http://github.com/kennyj/java_bin
License: MIT License
I'm trying the really simple example on the README for RSolr, but am getting this error when executing a query:
dyld: lazy symbol binding failed: Symbol not found: _bswap_32
Referenced from: /opt/local/lib/ruby/gems/1.8/gems/java_bin-0.3.3/ext/java_bin/ext/parser.bundle
Expected in: flat namespace
dyld: Symbol not found: _bswap_32
Referenced from: /opt/local/lib/ruby/gems/1.8/gems/java_bin-0.3.3/ext/java_bin/ext/parser.bundle
Expected in: flat namespace
test
raise spec error at 64bit linux (cent os5.x)
Have you considered using JRuby too? I was able to unmarshal using the Solr JavaBinCodec but some work is required to format into Ruby hashes/arrays:
See latest javabin format code at: https://github.com/apache/lucene-solr/blob/c84c8e559d862f5c86612fb62f8803ce1d6f61f4/solr/solrj/src/java/org/apache/solr/common/util/JavaBinCodec.java
It looks like there have been a few new types added. The type constants now go up to 19.
We're probably going to just workaround this by using json or xml in the meantime, but may come back eventually and try to update this if no one else does.
Hi, kennyj.
I has problem for date field.:-(
For example, date='2010-04-13 00:00:00'.
When I change response writer into 'Json':
=>2010-04-13T00:00:00Z
but, when java_bin:
=>2010-04-13T09:00:00Z
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.