[ 
https://issues.apache.org/jira/browse/SOLR-7739?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15094020#comment-15094020
 ] 

David de Kleer commented on SOLR-7739:
--------------------------------------

Hi Alessandro,

All right, I've managed to build SOLR from the Github mirror, with your patch 
applied. I thought you could use it like this?

{code}
<!-- classification -->
<updateRequestProcessorChain name="classification">
    <processor class="solr.ClassificationUpdateProcessorFactory">
        <str name="inputFields">q_website</str>
        <str name="classField">labels</str>
        <str name="algorithm">bayes</str>
    </processor>
    <processor class="solr.LogUpdateProcessorFactory"/>
    <processor class="solr.RunUpdateProcessorFactory"/>
</updateRequestProcessorChain>

<requestHandler name="/update" class="solr.UpdateRequestHandler">
    <lst name="defaults">
        <str name="update.chain">classification</str>
    </lst>
</requestHandler>
{code}

But how is it possible to train a model? I can't trace any activity of the 
classification updateRequestProcessorChain on an update (labels is a 
multivalued string btw, don't know if that is a problem). Or am I doing 
something wrong?

With kind regards,

David

> Lucene Classification Integration - UpdateRequestProcessor
> ----------------------------------------------------------
>
>                 Key: SOLR-7739
>                 URL: https://issues.apache.org/jira/browse/SOLR-7739
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>    Affects Versions: 5.2.1
>            Reporter: Alessandro Benedetti
>            Assignee: Tommaso Teofili
>            Priority: Minor
>              Labels: classification, index-time, update.chain, 
> updateProperties
>         Attachments: SOLR-7739.patch, SOLR-7739.patch
>
>
> It would be nice to have an UpdateRequestProcessor to interact with the 
> Lucene Classification Module and provide an easy way of auto classifying Solr 
> Documents on indexing.
> Documentation will be provided with the patch
> A first design will be provided soon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to