Adding this module after having created a working index and search page with search_api, it was totally undocumented and therefore unclear whether and where one has to activate the autocomplete functionality. I was "debugging" the module in code for half an hour, wondering why there are entities created in the database, before i accidentally stumbled accross the "Autocomplete" tab on the search index detail pages.
Please document how to enable this module's functionality in its README.txt and with a short hint on the module's project page as well - this is a quickfix taking only a few minutes and would help enormously. Text suggestions:
INSTALLATION
After having installed and enabled the module, you have to do some administrative steps to activate the autocomplete functionality:
Enabling autocomplete for search pages
To add autocomplete functionality to an search_api index, visit this index's edit page and click on the "Autocomplete" tab. There, check the search pages you wish to use autocomplete and hit "Save". You can further customize a search page's autocomplete settings (like result count exstimates) by clicking on the "edit" link next to the search page autocomplete line on the "Autocomplete" tab's page.
Enabling autocomplete for search_api views
[[no idea how this would work, please document it ;]]
Comment | File | Size | Author |
---|---|---|---|
#9 | 1708242--empty_fields-1.patch | 1.35 KB | drunken monkey |
#10 | 1357954-10--readme_update.patch | 1.16 KB | drunken monkey |
#8 | Bild1.jpg | 309.37 KB | fraweg |
#8 | Bild2.jpg | 330.02 KB | fraweg |
#8 | Bild3.jpg | 356.18 KB | fraweg |
Comments
Comment #1
drunken monkeyDone, thanks for the suggestion!
Comment #3
N20 CreditAttribution: N20 commentedHi, im trying to figure out how to use the module with Views. Are there any setup steps to be done besides activating the autocomplete feature in the index settings?
Comment #4
N20 CreditAttribution: N20 commentedComment #5
fraweg CreditAttribution: fraweg commentedHello,
for me autocomplete does also not work! I need more documentation too...
Best regards
Frank
Comment #6
fraweg CreditAttribution: fraweg commentedHello N20,
did you solve the problem?
Best regards
Frank
Comment #7
drunken monkeyYour view needs to have an exposed "Search: Fulltext search" filter, autocomplete will only be added to those.
Other than that, no, no other setup steps should be necessary.
Comment #8
fraweg CreditAttribution: fraweg commentedHello drunken monkey,
thanks for your answer in this issue.
What I have done:
-I have install and activate your module and create indexes in seach api
-I have make a view to search in this indexes and I do it with the Fulltext search
But the autocomplete does not work. I have added screenshots...maybe you see something is missing.
Best regards
Frank
Comment #9
drunken monkeyAh, OK, I see what the problem is! You're using the Multi-Index Searches module, which isn't supported by the Autocomplete module yet.
Sorry, maybe support will be added in the future.
Please review whether you think the attached changes to the README.txt would be helpful (the last addition, the former ones are just tidying up for some recent additions).
Edit: Please ignore the patch attached to this comment and see the next one.
Comment #10
drunken monkeySorry, completely wrong patch there.
Comment #11
fraweg CreditAttribution: fraweg commentedHello,
thanks for your answer. I really hope that this feature will be integrated.
Best regsrads
Frank
Comment #12
drunken monkeyCommitted.
Comment #13.0
(not verified) CreditAttribution: commentedchanged html formatting