AnsweredAssumed Answered

[Solr4] What class do I use in searchComponent for Suggester?

Question asked by housni on Dec 18, 2015
Hello,

<strong>Background:</strong>
I've created a core for Solr 4 (for my Drupal site).
I want to use <a href="https://wiki.apache.org/solr/Suggester">Suggester</a> for this core.


<strong>Question:</strong>
It looks as though I have to use
org.alfresco.solr.component.spellcheck.AlfrescoSpellCheckComponent
for the
class
attribute in for
searchComponent
.
But, this doesn't seem to work. Is this because that class is tied to work with Alfresco only?

The Apache wiki (linked above) suggests I use
solr.SpellCheckComponent
but where is this located in Alfresco?

In the end, I'd like to do something like this:
http://xxx.xxx.xxx.xxx:8080/solr4/drupal/select?q=suggest%3Alipsum&wt=json&indent=true

Thanks.

Outcomes