Hello,
I try to add a field in the schema.xml and can't make it work.
I added a line and when I try to see it on my solr server the new field was never add in the xml response that I get.
ex: http://localhost:8080/solr/select?response
(I've restarted the server after the schema.xml modification)
Something else to change ???
Thank you!
Comments
Comment #1
anarchivist commentedYou need to modify the solrconfig to return the field by default - in addition, though, it's likely that apachesolr (i.e., the Drupal module) won't see this because it requests a specific set of fields from the Solr server.
Comment #2
briandorval2 commentedI've take a look at the solrconfig.xml and there's no configuration for any fields.
Do you have any idea where the fields requested by the drupal module are set ?
(I know it's not the best way tweaking the drupal directly in the code but I'm running out of time)
Thanks!
Comment #3
pwolanin commentedin apachesolr_search.module:
It's easy to add to this however, see, for example, the apachesolr_image.module hook implementation:
Comment #4
briandorval2 commentedThx for your help, I'll take a look at it!
Comment #5
robertdouglass commented