Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to search docs like "fq=id:23 id:02 id:03" #38

Open
kala725 opened this issue Jan 21, 2015 · 5 comments
Open

Unable to search docs like "fq=id:23 id:02 id:03" #38

kala725 opened this issue Jan 21, 2015 · 5 comments

Comments

@kala725
Copy link

kala725 commented Jan 21, 2015

I am using heliosearch -0.8

Error Occured while running the following query:

http://localhost:8983/solr/site/elevate?&omitNorms=%22true%22&wt=json&omitHeader=true&indexed=true&enableElevation=true&forceElevation=true&qt=dismax&rows=200&q=_:_&fq=id:1%20id:125%20id:777%20id:321%20id:258

The error is: {"error":{"msg":"java.lang.UnsatisfiedLinkError: org.apache.solr.search.BitDocSetNative.setBits(JJJI)V","trace":"java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: org.apache.solr.search.BitDocSetNative.setBits(JJJI)V\n\tat org.apache.solr.servlet.SolrDispatchFilter.sendError(SolrDispatchFilter.java:793)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:434)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:207)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1419)\n\tat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:455)\n\tat

@argakon
Copy link

argakon commented Jan 21, 2015

Hello. That servlet container you are using?
May be this helps: #25

@VadimKirilchuk
Copy link

Hello,
"Thrown if the Java Virtual Machine cannot find an appropriate
native-language definition of a method declared native."

I guess you forget to build and include native libraries for heliosearch.

I don't know much details. Could anybody explain how to build and add
native lib to classpath?

2015-01-21 14:34 GMT+03:00 argakon [email protected]:

Hello. That servlet container you are using?


Reply to this email directly or view it on GitHub
#38 (comment)
.

@kala725
Copy link
Author

kala725 commented Jan 22, 2015

I just extracted & used the java -jar start.jar command as mentioned in the doc. What else I have to do ????

@kala725
Copy link
Author

kala725 commented Jan 22, 2015

Now error changed to
You have loaded library /data/solr/solr-hs_0.08/example/native/libHS_Linux.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
4895 [main] ERROR org.apache.solr.core.HS – HS: can't load native library: /data/solr/solr-hs_0.08/example/native/libHS_Linux.so: /data/solr/solr-hs_0.08/example/native/libHS_Linux.so: wrong ELF class: ELFCLASS64 (Possible cause: architecture word width mismatch)

@VadimKirilchuk
Copy link

Well I may only guess that you compiled native libs with 64 bit and
starting your jar with 32 bit or vice-versa, i.e. something is wrong with
compile vs runtime environments (wrong ELF class: ELFCLASS64)

2015-01-22 11:17 GMT+03:00 Arvind [email protected]:

Now error changed to

You have loaded library
/data/solr/solr-hs_0.08/example/native/libHS_Linux.so which might have
disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or
link it with '-z noexecstack'.
4895 [main] ERROR org.apache.solr.core.HS – HS: can't load native library:
/data/solr/solr-hs_0.08/example/native/libHS_Linux.so:
/data/solr/solr-hs_0.08/example/native/libHS_Linux.so: wrong ELF class:
ELFCLASS64 (Possible cause: architecture word width mismatch)


Reply to this email directly or view it on GitHub
#38 (comment)
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants