[MGNLEESOLR-84] Create new example solrconfig and managed-schema files Created: 05/Oct/15 Updated: 15/Apr/16 Resolved: 13/Oct/15 |
|
| Status: | Closed |
| Project: | Solr Search Provider |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.0 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Evzen Fochr | Assignee: | Milan Divilek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 3h 20m | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Date of First Response: | |||||||||
| Sprint: | Kromeriz 14 | ||||||||
| Story Points: | 2 | ||||||||
| Comments |
| Comment by Evzen Fochr [ 05/Oct/15 ] |
|
SuggestComponent and SpellCheckComponent added to default schemaless solrconfig file called with SearchHandler named as "/suggest". Results from SuggestComponent returned first. |
| Comment by Evzen Fochr [ 05/Oct/15 ] |
|
Changes needed in managed-schema against default.
<!-- For keywords and categories --> <dynamicField name="*_comma_split" type="category" indexed="true" stored="true"/> <fieldType name="category" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.PatternTokenizerFactory" pattern=",\s*"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.StandardFilterFactory"/> </analyzer> <analyzer type="query"> <tokenizer class="solr.PatternTokenizerFactory" pattern=",\s*"/> <filter class="solr.LowerCaseFilterFactory"/> <filter class="solr.StandardFilterFactory"/> </analyzer> </fieldType> <!-- For keywords and categories --> |
| Comment by Evzen Fochr [ 06/Oct/15 ] |
|
do not delete example schema, just make it compatible with solr5 |
| Comment by Evzen Fochr [ 06/Oct/15 ] |
|
How to change Solr managed schema to classic schema Stop Solr: $ bin/solr stop Go to server/solr/mycore/conf, where "mycore" is the name of your core/collection. Edit solrconfig.xml: search for <schemaFactory class="ManagedIndexSchemaFactory"> and comment the whole element |
| Comment by Milan Divilek [ 13/Oct/15 ] |
|
Reopen: info.magnolia.search.solrsearchprovider.logic.providers.ServletSolrSearchProvider doesn't resolve suggestions from org.apache.solr.client.solrj.response.SuggesterResponse |