[ 
https://jira.duraspace.org/browse/DS-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22525#comment-22525
 ] 

Dan Ishimitsu commented on DS-1030:
-----------------------------------

Hi Peter,

I tried out the code and it works well. Thanks for the quick response with the 
code snippet.
                
> markRobotsByIP doesn't remove isBot:false records
> -------------------------------------------------
>
>                 Key: DS-1030
>                 URL: https://jira.duraspace.org/browse/DS-1030
>             Project: DSpace
>          Issue Type: Bug
>          Components: Solr
>    Affects Versions: 1.7.2
>            Reporter: Dan Ishimitsu
>            Assignee: Peter Dietz
>
> The expectation based on docs is that /dspace/bin/dspace stats-util -m would 
> update isBot:false records to isBot:true (based on IPs in spider configs).
> It appears to instead create duplicate records with the isBot:true. So we end 
> up with all of the original isBot:false records, plus an equal number of new 
> isBot:true records. I think it's just missing a delete query at the end to 
> clear the old records matching IPs with isBot:false.

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

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to