You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2009/06/04 17:39:07 UTC

[jira] Created: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

We should add an example of setting the update.processor for a given RequestHandler
-----------------------------------------------------------------------------------

                 Key: SOLR-1203
                 URL: https://issues.apache.org/jira/browse/SOLR-1203
             Project: Solr
          Issue Type: Improvement
            Reporter: Mark Miller
            Assignee: Mark Miller
            Priority: Minor
             Fix For: 1.4


a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-1203:
------------------------------

    Description: a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.  (was: a commented out example that points to the commented out example update chain)

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Bill Au (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749189#action_12749189 ] 

Bill Au commented on SOLR-1203:
-------------------------------

I had actually come across an example in the Wiki when I was looking for information on update processor:

http://wiki.apache.org/solr/Deduplication?highlight=%28updateprocessor%29#head-177c1b1e490e1192f41d9ab0e037b05e1567a35d



> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1203.patch
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-1203:
------------------------------

    Attachment: SOLR-1203.patch

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Reopened: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller reopened SOLR-1203:
-------------------------------


I don't think this has been addressed?

bq. update.processor is not for RequestHandler it is common across all requesthandlers

No - I'm talking about the processor chain that you configure on the handler with the update.processor param.

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller resolved SOLR-1203.
-------------------------------

    Resolution: Fixed

thanks for the review - committed r813854

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1203.patch
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12739288#action_12739288 ] 

Mark Miller commented on SOLR-1203:
-----------------------------------

Hmm - I swear I had responded to you when you originally asked that Grant - but not seeing my reply here or on the dev list ...

Thats not the example I'm talking about - I'm talking about linking an update req handler to the dedupe chain. If you just uncomment that example, you won't get far because it won't be used by anything - they will use the default chain assigned to null.

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Lance Norskog (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746547#action_12746547 ] 

Lance Norskog commented on SOLR-1203:
-------------------------------------

I am all for examples, but the example schema.xml and solrconfig.xml cannot contain examples for every possible use of the tools. Maybe this could go in the wiki instead?

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-1203:
------------------------------

    Attachment: SOLR-1203.patch

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1203.patch
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12735738#action_12735738 ] 

Grant Ingersoll commented on SOLR-1203:
---------------------------------------

Seems like this is fixed in example right?

{quote}
 <!-- An example dedup update processor that creates the "id" field on the fly
       based on the hash code of some other fields.  This example has overwriteDupes
       set to false since we are using the id field as the signatureField and Solr
       will maintain uniqueness based on that anyway. -->
  <!--
  <updateRequestProcessorChain name="dedupe">
    <processor class="org.apache.solr.update.processor.SignatureUpdateProcessorFactory">
      <bool name="enabled">true</bool>
      <str name="signatureField">id</str>
      <bool name="overwriteDupes">false</bool>
      <str name="fields">name,features,cat</str>
      <str name="signatureClass">org.apache.solr.update.processor.Lookup3Signature</str>
    </processor>
    <processor class="solr.LogUpdateProcessorFactory" />
    <processor class="solr.RunUpdateProcessorFactory" />
  </updateRequestProcessorChain>
  -->
{quote}

Please close if this is the case.

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-1203:
------------------------------

    Attachment: SOLR-1203.patch

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1203.patch
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746561#action_12746561 ] 

Mark Miller commented on SOLR-1203:
-----------------------------------

I'm not looking for every possible example.

But since we give an example of a custom update chain, it seems we might give an example or pointer on how to actually put it in use? Its kind of a frustrating example otherwise.

It should be in the Wiki as well.

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12753786#action_12753786 ] 

Grant Ingersoll commented on SOLR-1203:
---------------------------------------

Mark,

This patch seems fine to me.  Can we finish this one off?

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1203.patch
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Ingersoll resolved SOLR-1203.
-----------------------------------

    Resolution: Fixed

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Mark Miller (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Miller updated SOLR-1203:
------------------------------

    Attachment:     (was: SOLR-1203.patch)

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain or just as good: a comment above the current update chain example explaining how to attach it to a handler.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SOLR-1203) We should add an example of setting the update.processor for a given RequestHandler

Posted by "Noble Paul (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SOLR-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719460#action_12719460 ] 

Noble Paul commented on SOLR-1203:
----------------------------------

update.processor is not for RequestHandler it is common across all requesthandlers

> We should add an example of setting the update.processor for a given RequestHandler
> -----------------------------------------------------------------------------------
>
>                 Key: SOLR-1203
>                 URL: https://issues.apache.org/jira/browse/SOLR-1203
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 1.4
>
>
> a commented out example that points to the commented out example update chain

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.