Hi,

Is there a way to display the content type next to the node title in the suggestions that appears?

Something like :

Name_of_the_node15 - Blog
Name_of_the_node342 - Story
...

I don't know if this should be done through a direct modification of solr configuration, or through a feature of this module ?

Comments

fourmi4x’s picture

Title: Display content type next to node title » Output "complete" node titles + content type
Status: Active » Postponed

I'm sorry, this request didn't really make sense : I just realised that solr autocomplete currently displays the number of results next to the text searched.

So in order to have the content type displayed, it would before require autocomplete to output nodes individually, one after the other, and only node titles (not simple words).

This means indexing "complete" node titles. This probably has as much more to do with Solr Integration than with Solr Autocomplete only...

janusman’s picture

This has to do with other feature requests wanting the autocomplete widget to search only on certain field (e.g., the title) AND display only matching values from that field... That is certainly a possibility, but there would need to be a (major?) reworking of the module to achieve it. Check the issue queue for similar issues.