[
https://jira.duraspace.org/browse/DS-599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=22572#comment-22572
]
Peter Dietz commented on DS-599:
--------------------------------
I just found that SOLR has bad behavior at using NOT's and OR's.
http://stackoverflow.com/questions/634765/using-or-and-not-in-solr-query
So, we can fix this query, by writing something logicially equivalent, but
refactored to be backwards.
DOESN'T WORK: ( bundleName:ORIGINAL ) OR ( -bundleName:[* TO *] )
WORKS: -( bundleName:[* TO *] AND -bundleName:ORIGINAL )
I think that equates to EXCLUDE ( all bundles other than ORIGINAL). Which means
we have blank Bundles, and Originals... But not Thumbnail, License, etc..
The manual, way would have been to say type:0 AND -bundleName:THUMBNAIL AND
-bundleName:LICENSE AND ...
> SOLR statistics file download displays all files and not only those in the
> Bundle Original
> ------------------------------------------------------------------------------------------
>
> Key: DS-599
> URL: https://jira.duraspace.org/browse/DS-599
> Project: DSpace
> Issue Type: Bug
> Components: Solr
> Affects Versions: 1.6.0, 1.6.1, 1.6.2
> Reporter: Claudia Jürgen
> Assignee: Kevin Van de Velde
> Priority: Major
> Fix For: 1.8.0
>
> Attachments: DS-559--AddBundleNameToSOLR.patch,
> DS-559--AddBundleNameToSOLR_V0_2.patch, Original_bundle_bugfix.patch
>
>
> The file download statistic for an item displays all the bitstreams
> regardless of the bundle they belong to.
> So licenses, extracted texts got displayed and counted. This is a bit
> confusing for the normal user as their existence is usually hidden from him.
> Furthermore I wonder whether views from the edit item stage should be counted
> as "regular" views at all.
--
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