Re: [dspace-tech] Is this a possible kind of search?

2016-12-22 Thread Evgeni Dimitrov
Hi Terry, Thank you for the information. I will see will it be possible to introduce a new kind of facet. To have a bean of the new kind for the "relation" facet. And to add some Java code to make a request to SOLR and get results. I have now some time to try. Best regards Evgeni On Thursday,

Re: [dspace-tech] Is this a possible kind of search?

2016-12-22 Thread Terry Brady
Evgeni, The default behavior of the facets and filters will not accomplish your goal. There is a feature called a Hierarchical Sidebar Facet that might help. I have not used this feature, so I do not know if it will help with your issue. https://wiki.duraspace.org/display/DSDOC5x/Discovery#Disc

Re: [dspace-tech] Is this a possible kind of search?

2016-12-22 Thread Evgeni Dimitrov
Thank you Terry, I want a facet, a sidebar facet. But it is a "parameterized" facet. It makes sense only together with a search filter "relation" (dc.relation.*). There is an item A with dc.identifier=123. The end-user makes search and adds the filter "relation = 123". Because the end-user wants

Re: [dspace-tech] Is this a possible kind of search?

2016-12-21 Thread Terry Brady
Are you attempting to create a query or to create a facet? If you are building a query, who will run the query? Does it need to be run through the DSpace UI, or can it be run in the background? Reading your initial note, it sounds like you would like to define a facet. Your initial plan to add

Re: [dspace-tech] Is this a possible kind of search?

2016-12-21 Thread Evgeni Dimitrov
Hi helix84, My thoughts are rather in this direction: To add somewhere? some code? so that only when the search filter "relation" is applied (with value XXX), to have: - a new temporary field relation_kind added - with value isformatof - for every record with (relation.isformatof XXX) - a new t

Re: [dspace-tech] Is this a possible kind of search?

2016-12-20 Thread Evgeni Dimitrov
Thank you helix84, I can not get your suggestion - where can I place this query? And I am not sure have I explained clear my goal. If there are: - item A (dc.identifier 123) - item B (dc.relation.isformatof 123) - item C (dc.relation.isreferencedby 123) - item D (dc.relation.isreferencedby 123)

Re: [dspace-tech] Is this a possible kind of search?

2016-12-20 Thread helix84
The query you want is: (relation.isbasedon:[* TO *] OR relation.isformatof:[* TO *] OR relation.isreferencedby:[* TO *]) AND your_identifier:123 Then use faceting as usual. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+L

[dspace-tech] Is this a possible kind of search?

2016-12-20 Thread Evgeni Dimitrov
I am wondering - is it possible to have a search like this: - to find all items, which have in any of relation.isbasedon, relation.isformatof, relation.isreferencedby etc. certain value (the identifier of certain item); - then to have a facet "relation" with values isbasedon (1) isformatof (1) i