Solr Autocomplete works very well on the search field in the Search Block; however, auto-complete does not appear to apply to the Search Terms field found in the Core Search page. Is there some way I can have the auto-complete behaviour of the search block on the search page form?

Thanks in advance.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

janusman’s picture

Status: Active » Fixed

The autocomplete is only meant to modify the search forms that call Apache Solr. If you modify the core search form, you can be recommending results that are different since core search and Solr might have different things on their index. Does that make sense?

I'm not sure if you want an autocomplete widget that recommends words from what's on the Core Search index, or whether you want to go ahead and recommend words from the Solr index onto the Core Search input widget.

If the former, look at other modules... I'm not familiar with it, but maybe http://drupal.org/project/search_autocomplete can help.

If the latter, you can maybe just write a small module that can alter that form.

Good luck!

janusman’s picture

Status: Fixed » Closed (works as designed)

Oops, wrong status.

luo8’s picture

FileSize
418.31 KB

Hello janusman,
recommend words have to be taken from Solr index onto the Core Search input widget.
This feature is working in D6. Could you please support us make it functional in D7 as well?
What should be change?
Thanks a lot.

luo8’s picture

Status: Closed (works as designed) » Needs review
luo8’s picture

Hello,
is anybody who can help.
I tried to search for this functionality comparison with module for D6,where is working, but with no success.
Pls. which function/script should modified or added?
Thanks a lot.

kevster’s picture

I was just going through all the issues to try and find a solution to my issue - this sounds very similar to this post - http://drupal.org/node/719382 ?

I am having issues with the D7 version although there are some good patches in the above post.

Thx, Kevin