-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Spatial support JTS/Geo3D #37
Comments
I downloaded jts-core-1.19.0.jar and placed it in .dev/solr/lib Documentation now says:
How would I do that? Sorry for all the hassle. I really do not know. |
Added the following to SolrConnectorPluginBase.php:alterConfigFiles():
but uploading config still fails:
|
I do notice, with my new line added, 101 libs are loaded, without just 100... |
Aha. https://solr.apache.org/guide/solr/latest/query-guide/spatial-search.html
|
But good news (?) Simply altering to
Seems to work! |
Didn't you notice that Search API Solr already provides a checkbox for JTS? |
OK, it uses the built-in Spatial4j. So what is the request here? Switching to Geo3D might be a feature request for search_api_solr and has nothing to do with ddv-solr. |
@ChristianAdamski I want to do the next release of ddev-solr. My concern is that most Solr hosting providers won't allow that their customers put this lib under that path. |
Hey, I very much do not want to recommend any far reaching decissions based on that. It might happen, as you suggested, that I will recommend a change to search_api_solr to add an option for Geo3D instead of JTS. But I'm not that far yet in my testing around. Not enough time for Open Source... So thanks for your question, but simply do as you see fit, no need to change anything based on my work here. |
Closing in favor of d.o Tickets |
As written in another issue, I'm working on geolocation supoprt, specifically geometry.
POINT & LineString work, Polygon does not. Seems to require "JTS". I have understood that being the integration of another library.
Creating a collection fails.
Going through the error log, this is likely caused by:
which then cascades to multiple errors, finally failing as above.
1.) How do I enable "JTS"?
2.) It might be worth checking for this library being present, before trying to upload this config. Alternatively, more helpful error messages..
The text was updated successfully, but these errors were encountered: