You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Koji Sekiguchi (Commented) (JIRA)" <ji...@apache.org> on 2012/03/17 07:41:39 UTC

[jira] [Commented] (SOLR-2826) URLClassify Update Processor

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

Koji Sekiguchi commented on SOLR-2826:
--------------------------------------

Can we get rid of landingPageSuffixesSet in the URLClassifyProcessor constructor?

{code}
public URLClassifyProcessor(SolrParams parameters,
    SolrQueryRequest request,
    SolrQueryResponse response,
    UpdateRequestProcessor nextProcessor) {
  super(nextProcessor);
  
  HashSet<String> landingPageSuffixesSet = new HashSet<String>();
  for(String s : landingPageSuffixes) {
    landingPageSuffixesSet.add(s);
  }
  this.initParameters(parameters);
}
{code}

                
> URLClassify Update Processor
> ----------------------------
>
>                 Key: SOLR-2826
>                 URL: https://issues.apache.org/jira/browse/SOLR-2826
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: Jan Høydahl
>            Assignee: Jan Høydahl
>              Labels: UpdateProcessor
>             Fix For: 3.6, 4.0
>
>         Attachments: SOLR-2826.patch
>
>
> Processor which analyzes a URL and outputs to other fields: length, #levels, isTopLevel true/false, host part, path part, canonicalized URL etc.
> Kindly donated by Oslo University

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org