Hello fellow Drupalists,

I was wondering if it is possible to make Apache solr autocomplete link straight to the nodes that the search results come up with? much like what you see at this website: http://imdb.com/

I am using it with views and have been trying to make it work like that but without luck.

Thanks,
Gilli

Comments

luo8’s picture

Hi,
I think that this is feature which is really needed and could make module more used.
Is there any ability to make linking functional?
Thank you.

zbombicz’s picture

subscribing

zbombicz’s picture

Issue summary: View changes

type

luo8’s picture

It solved,need more knowleage with Views

gillisig’s picture

Care to explain how you solved it luo8?

luo8’s picture

Hello s2sz,
in VIEWS you have to add Field "Apache Solr: path" , you have to go configure it...in "Rewrite results" have to be checked: 1. "Rewrite the output of this field" with this text "[label]" 2."Output this field as a link" with this Link path "[path]".
Should work,try to play with "Replacement patterns" as well.

davidarthur’s picture

Sounds like the wires are getting a little crossed here. The original poster was talking about the autocomplete functionality, this doesn't tie in with views at all. Does it?

Still look for a solution to the OPs problem, is there a separate module that addresses this?

davidarthur’s picture

Issue summary: View changes

changing to a better link