Postponed
Project:
Apache Solr Autocomplete
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2011 at 11:08 UTC
Updated:
8 Mar 2011 at 03:34 UTC
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
Comment #1
fourmi4x commentedI'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...
Comment #2
janusman commentedThis 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.