FWIW, In order to narrow the scope of items made available in oai, I made a
change to XOAI.java.  It now makes a selection of the items with a
particular metadata value when creating the solr oai instance.

-Jose


On Mon, Apr 22, 2013 at 4:20 PM, Jose Blanco <[email protected]> wrote:

> I'm looking into this again, and just tried something that seemed logical
> to me, but it did not work.  Could some one write up some documentation on
> what needs to be done to exclude certain items from being output via oai.
> This seems like something that should documented.
>
> Thank you!
> Jose
>
>
> On Wed, Apr 17, 2013 at 12:02 PM, Jose Blanco <[email protected]> wrote:
>
>> Simple question:  If I make a change to xoai.xml, and I have cache set to
>> false.  All I have to do is redeploy oai, right?  I don't have to do
>>
>> ./dspace oai import -c
>>
>> In other words, when does the filtering happen?  I am assuming that it
>> happens when a request comes in, and not when the solr oai index is built.
>>
>>
>> So,  What I want to do is for certain records not to be made available.
>> I may want to edit the code to have a "notcontains" function.  But before I
>> do that I want to make sure I'm testing this the right way, and it seems
>> like my oai responses (ListRecords) don't change regardless of the changes
>> I make.
>>
>> Thank you!
>
>
>
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to