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

Markus Jelsma commented on NUTCH-2229:
--------------------------------------

Ah, this works very nicely! I'll commit shortly!

> Allow Jexl expressions on CrawlDatum's fixed attributes
> -------------------------------------------------------
>
>                 Key: NUTCH-2229
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2229
>             Project: Nutch
>          Issue Type: Improvement
>          Components: crawldb
>    Affects Versions: 1.11
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.12
>
>         Attachments: NUTCH-2229.patch
>
>
> CrawlDatum allows Jexl expressions on its metadata fields nicely, but it 
> lacks the opportunity to select on attributes like fetchTime and modifiedTime.
> This includes a rudimentary date parser only supporting the 
> yyyy-MM-dd'T'HH:mm:ss'Z' format:
> {code}
> bin/nutch readdb crawl/crawldb/ -dump out -format csv -expr "(modifiedTime > 
> 2016-03-20T00:00:00Z)"
> {code}



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

Reply via email to