I am currently working with the following setup:
- Apachesolr 7.x-1.8
- Apachesolr Multilingual 7.x-1.3
- Entity Translation 7.x-1.0-beta6
- Title 7.x-1.0-alpha9
We thought Solr searching was working for our English/Spanish website without issue until we realized that very short nodes (that have very little content except for a title and an attachment) were not being returned in a useful order when searching. To see an example, check out https://texaslawhelp.org/search/site/Conservatorship%20Order?f%5B0%5D=bu...
The 'form' content type on this site is very simple - usually just a title, an attached form as a PDF, and maybe some taxonomy tags. You can see if you search for 'Conservatorship Order' and then filter by content type: form, the forms that have 'Conservatorship Order' in the title aren't returned until the second page. Once I started looking into this I realized that when searching forms, no matter how I set the field biases for Solr (at admin/config/search/apachesolr/settings/solr/bias), the results for search forms just don't seem to change order. The only available fields related to title are:
- English: Title or label
- Spanish: Title or label
- English: Title or label (Unstemmed)
- Spanish: Title or label (Unstemmed)
- Title or label
This made me wonder - is Apache Solr Multilingual able to index titles that have been converted to a field via the Title module? I found this old thread that makes me assume that using the Title field works, but so far that doesn't seem to be my experience. If the Title field isn't supported, is there a workaround?
Comments
Comment #2
kbrinnerComment #3
kbrinner