The field boost settings page only features default fields right now, because of what appears to be a bug in the schema detection:
$field->schema{1} == 'I'
should be
$field->schema{0} == 'I'
(at least on our Apache Solr Trunk server)
More over, only 'text' fields are displayed by default. I believe it would be useful to also display 'string' fields by default.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | indexed-530910-4.patch | 918 bytes | pwolanin |
| #1 | 530910-field-boost-settings.patch | 1.4 KB | damien tournoud |
Comments
Comment #1
damien tournoud commentedHere is a patch implementing the two changes above.
Comment #2
robertdouglass commentedHaven't confirmed the bug or the fix yet, but prefer the wording "// By default we only show text and string fields." instead of "// By default we only show character fields."
Comment #3
pwolanin commentedIt should only be text fields - since generally string fields are for sorting, etc.
Comment #4
pwolanin commentedLooks like I just made a mistake in terms of 1 vs 0 as the offset.
Committing this minimal patch to 6.x-1.x fix the bug - any other change needs more consideration I think.
Robert - can you port to 2.x?
Comment #5
robertdouglass commentedYup.
Comment #6
robertdouglass commentedin 6.2.