Ticket #1276 (closed enhancement: fixed)
Apply weighting to search fields in solr
Reported by: | johnglover | Owned by: | johnglover |
---|---|---|---|
Priority: | minor | Milestone: | ckan-sprint-2011-09-12 |
Component: | ckan | Keywords: | search |
Cc: | Repository: | ckan | |
Theme: | none |
Description
For example:
- name and title should have a higher weight than the notes field
Change History
Note: See
TracTickets for help on using
tickets.
Added to branch feature-1275-solr-search
Don't seem to be able to apply weighting to fields at index time using solrpy (see open issue: http://code.google.com/p/solrpy/issues/detail?id=6). So, switched to using the newer Solr edismax query parser and have applied weights to fields at search time.
Current weights are as follows:
name: 4 title: 4 group: 2 tag: 2 text (everything else): 1