[MGNLEESOLR-83] Remove hardcoded DEFAULT_SEARCH_FIELD 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: | Evzen Fochr |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 0.5h | ||
| 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 | ||||||||
| Description |
|
DEFAULT_SEARCH_FIELD should not be send in query, it should be configured in solrconfig.xml . |
| Comments |
| Comment by Milan Divilek [ 09/Oct/15 ] |
|
Reopen: Please do not introduce defaultSearchFieldLocalized variable. Use just defaultSearchField variable. Do not introduce setter/getter for defaultSearchField, set it same as we are setting for example "filterURL". !StringUtils.isEmpty(defaultSearchField) you can use StringUtils.isNotEmpty which is more readable and in this case I would use StringUtils.isNotBlank. |
| Comment by Milan Divilek [ 13/Oct/15 ] |
|
Reopen: defaultSearchField is ignored when current language is same as default. |