Needs review
Project:
Apache Solr Views
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2009 at 14:06 UTC
Updated:
13 Nov 2018 at 15:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
domidc commentedSubscribing
Comment #2
domidc commentedYou could add suggestions to apache solr this way
In apache_solr_views_query.inc in the execute function above the $response = $this->_solr_service ...
Then in a custom module you could get the suggestions like this and call them from a block or something. (the apache solr views module stores the result so we can get it)
Perhaps this could be included in the module?
Comment #3
Scott Reynolds commentedI think the right approach would be to attach the spellchecker suggestions to the exposed filter form. So in that form you would do something like
Then the default theme implementation for the suggestions could be an item list. And doing this allows some module to do a form_alter on the form and put '#access' => FALSE if they don't want suggestions.
Thats the approach I like.
Comment #4
scotjam commentedEdit!
By exposed filter form, you're referring to the views-exposed-form.tpl.php, right?
Can anyone help explain this in more simple steps please?
Comment #5
dirtysteak commentedWould love to see this functionality, right now the search field is a bit crippled on our site because of this....
Subscribing.
Comment #6
dries arnoldsI'm also anxiously waiting for this feature. Scott's approach seems fine.
Comment #7
LetUsBePrecise commentedWe also need this feature on our site... subscribing.....
Comment #8
lucasvm commentedthe path did not work for me, im also using exposed form to show the apache solr result and perform the search and i cant see the spellcheck and i really need it
Comment #9
kenorb commented