Summary: | Indexing fields concatenated | ||
---|---|---|---|
Product: | Koha | Reporter: | claire.hernandez <claire.hernandez> |
Component: | Searching - Elasticsearch | Assignee: | Bugs List <koha-bugs> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 - low | CC: | alex.arnaud, joonas.kylmala, nick, nicolas.legrand, severine.queune |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | --- | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: | ||
Version(s) released in: | Circulation function: |
Description
claire.hernandez@biblibre.com
2018-03-13 14:49:20 UTC
Might also be interesting for other use cases. Maybe a full title for sorting? MARC21: 245$a$b$n$p We just learned the hard way we will also need this :). Any thoughts here about creating an index plugin system: Currently we use Catmendu::* libraries to transform data. If i'm not wrong, we only can do that by using "Fixes" (a fix language) like: marc_map(245ac, title) We give these fixes at Catemdu that process the job itself. This means that plugins should be written with this fix language too. A second thing: there is a work on bug 19893 to replace these libraries and create some koha-specific code. So the plugin system should be designed differently in this case. You should be able to concatenate the search fields (e.g. 245a$b$n as bug 19893 is now pushed to master. However, I don't think it supports adding commas between the MARC fields. Just tried in master : concatenation works fine using parenthesis : 700(ab) (In reply to Séverine Queune from comment #5) > Just tried in master : concatenation works fine using parenthesis : 700(ab) Hi Claire, does this solve the problem? I think yes, thank you. |