-
Notifications
You must be signed in to change notification settings - Fork 13
Course search #46
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
base: release-4.8.0
Are you sure you want to change the base?
Course search #46
Conversation
|
|
||
| search.es_conn_info="localhost:9200" | ||
| search.fields.query=["name^100","title^100","lemma^100","code^100","domain","subject","description^10","keywords^100","ageGroup^10","filter^10","theme^10","genre^10","objects^25","contentType^100","language^200","teachingMode^25","skills^10","learningObjective^10","curriculum^100","gradeLevel^100","developer^100","attributions^10","identifier^100","IL_UNIQUE_ID^100","owner^50","board^100","relatedBoards^100","creator^100", "dialcodes^100","text","words","releaseNotes"] | ||
| search.fields.query=["name^100.0","keywords^60.0","competencies_v3.name^60.0","systemTopics^60","purpose^60","source^50.0","description^5.0","language^5.0"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check this can be over ridden via deployment script -- so that no code change is required.
| return searchDTO.isFuzzySearch() ? prepareFilteredSearchQuery(searchDTO) : prepareSearchQuery(searchDTO); | ||
| } | ||
|
|
||
| return searchDTO.isFuzzySearch() ? (prepareSearchQuery(searchDTO) == null ? prepareFilteredSearchQuery(searchDTO) : prepareSearchQuery(searchDTO)) : prepareSearchQuery(searchDTO); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are the chances of prepareSearchQuery becomes null ?
If prepareSearchQuery is not null - then the default SB behaviour of calling prepareFilteredSearchQuery won't be used in Sunbird environment. So this solution can not be proposed to Sunbird - we need better way of coding which is not causing any issues in Sunbird environment.
Changes for Course search API