Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Updated] (SOLR-2802) Toolkit of UpdateProcessors for modifying document values

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Feb 3, 2012, 5:17 PM

Post #1 of 2 (29 views)
Permalink
[jira] [Updated] (SOLR-2802) Toolkit of UpdateProcessors for modifying document values

[ https://issues.apache.org/jira/browse/SOLR-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-2802:
---------------------------

Attachment: SOLR-2802_update_processor_toolkit.patch

Updated patch adds a new RegexpReplaceProcessorFactory.

this new factory is a refactoring of the one Jan attached to SOLR-2825, changed to utilize the base classes created in this issue.

it has all of the same core functionality as the original, but because of the base class, can support all of the field selector options i've mentioned before, instead of a single comma seperated list of field names. I also added some additional error checking that doesn't exist in the SOLR-2825 version related to more explicit error messages when params are missing or patterns are invalid. in spite of these additions, this version is only half as many lines of code. (due to the base class reuse)

> Toolkit of UpdateProcessors for modifying document values
> ---------------------------------------------------------
>
> Key: SOLR-2802
> URL: https://issues.apache.org/jira/browse/SOLR-2802
> Project: Solr
> Issue Type: New Feature
> Reporter: Hoss Man
> Attachments: SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch
>
>
> Frequently users ask about questions about things where the answer is "you could do it with an UpdateProcessor" but the number of our of hte box UpdateProcessors is generally lacking and there aren't even very good base classes for the common case of manipulating field values when adding documents

--
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 [at] lucene
For additional commands, e-mail: dev-help [at] lucene


jira at apache

Feb 7, 2012, 8:16 PM

Post #2 of 2 (22 views)
Permalink
[jira] [Updated] (SOLR-2802) Toolkit of UpdateProcessors for modifying document values [In reply to]

[ https://issues.apache.org/jira/browse/SOLR-2802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hoss Man updated SOLR-2802:
---------------------------

Attachment: SOLR-2802_update_processor_toolkit.patch

Polished up the previous patch...

* all TODOs & nocommits gone
* javadocs with example config for every factory
* locked down everything as final and/or protected unless there was a reason to be otherwise
* added more tests
* renamed Regex*p*ReplaceProcessorFactory RegexReplaceProcessorFactory (didn't notice the naming before, pretty sure "Regex" is more common these days)

I'm ready to commit this and open new (smaller) issues to iteratate on the other subclass ideas mentioned in this issue.

speak now or forever hold your pieces!

> Toolkit of UpdateProcessors for modifying document values
> ---------------------------------------------------------
>
> Key: SOLR-2802
> URL: https://issues.apache.org/jira/browse/SOLR-2802
> Project: Solr
> Issue Type: New Feature
> Reporter: Hoss Man
> Attachments: SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch, SOLR-2802_update_processor_toolkit.patch
>
>
> Frequently users ask about questions about things where the answer is "you could do it with an UpdateProcessor" but the number of our of hte box UpdateProcessors is generally lacking and there aren't even very good base classes for the common case of manipulating field values when adding documents

--
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 [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.