Comments (4)
You mean http://lucene.apache.org/solr/guide/8_1/schema-api.html#schema-api? Yeah, that'd be grand, because every install needs to customise the schema, and only some installs need to customise solrconfig.xml
.
From my understanding, FTS currently generates schema.xml
on Solr_Configure
, and then uploads it via a custom CWP proxy script (not WebDAV, not anything built into Solr). Assuming that our most common use case will be running Solr on a remote box, we can't run mode=file
because that's not actually allowing you to copy changed XML files from a webserver to the Solr server.
There's no API to modify solrconfig.xml
, you need to have that file available on the Solr server at the time when the core is created. Core creation can happen remotely via API, referencing a local file on the Solr server for configuration. See http://lucene.apache.org/solr/guide/8_1/coreadmin-api.html#coreadmin-api
from silverstripe-solr-search.
Yes, managed schema indeed, as per your link, is what I'm looking at.
This would potentially even remove the need for a schema.xml to be generated in the first place, giving the option to have an initial configuration from yml and then use the CMS controls in place (to be done, ™️ ) to further control the schema.
I am aware of not being able to use the file mode for remote servers, which is why I'm looking in to post and webdav stores (I'm still not fully gotten my head around the CWP implementation, black box magic, as I have other priorities).
SolrConfig.xml should be modifiable as far as I can see, but (and that's the big one), it needs to exist before a core can be loaded, and Solr does not provide an endpoint for this.
A possible solution is again a custom proxy for loading this. I would not do this through apache and php though, but with a broader Python or Ruby script, that gives more granular control than just writing it to a file.
You are not the first to be annoyed by this lack of support from Solr to instantiate a core on the fly, that's for sure! :D
from silverstripe-solr-search.
I delved into coreadmin api last April and is looking forward to incorporate the code I've done here.
Also I suggest we look into zookeeper approach as an alternative to proxy black box.
from silverstripe-solr-search.
I've scheduled this change for the next major release. I prefer the module to be stable and working with the current situation, before introducing new variables that could distract from the core functionality.
from silverstripe-solr-search.
Related Issues (20)
- Unable to remove a date from index
- Date range filters/excludes HOT 4
- Documentation is not generated HOT 1
- Allow "blank" query term when searching HOT 1
- Unable to sort queries HOT 1
- Facets are filtered as "OR" instead of "AND"
- Faceted fields are not stored
- Update adapter to HTTP PSR18 adapter HOT 3
- Module doesn’t support authentication HOT 12
- Add a "draft" core option
- Change the store selection to injector HOT 1
- Messages are not outputted to the terminal HOT 1
- PHP8 support requires Solarium update HOT 6
- Question: Does this module support indexing document contents (Files?) HOT 1
- What to do when solr goes down HOT 4
- Solr 8 Data Path HOT 3
- Remove guzzle6-adapter? HOT 2
- Force a version HOT 2
- Refactor Solr on Searchbackend
- Fix currently broken tests
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 silverstripe-solr-search.