Sheryl,

Thanks for the warning. Paul and I stumbled onto the Luke scripting feature
but didn't use them.

Lucene catalog cleansing is something we will be addressing for the snow
project. If anything useful comes out of it, we'll be sure to share.

Cameron
On Jul 16, 2012 9:40 AM, "Sheryl John" <[email protected]> wrote:

> Hi Cameron,
>
> Were you able to edit the filemgr lucene catalog?
> I think if you update an index with Luke it would write out a version that
> can't be read by an older Solr/Lucene version.
> I remember Ricky trying to edit the filemgr catalog with Luke and faced
> the above issue.
>
> On Mon, Jul 16, 2012 at 8:09 AM, Cameron Goodale <[email protected]>wrote:
>
>> Tom,
>>
>> You could use lucene's Luke tool to query and edit the catalog. Paul and
>> I discovered a scripting plugin within Luke that can execute javascript to
>> manipulate the catalog.
>>
>> I hope that is a good lead for you.
>>
>> Cameron
>> On Jul 16, 2012 8:26 AM, "Thomas Bennett" <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> I've recently created a Lucene file manager catalog. I cataloged about
>>> 2000 files "in place", but have encountered a problem.
>>>
>>> From the fmbrowser some of the files are listed as being:
>>>
>>> Product        Transfer Status    Percent Complete Received Time
>>> References    Metadata
>>> 1287587805.h5 RECEIVED     100%         UNKNOWN        View References
>>>   View Metadata
>>> 1287353769.h5 RECEIVED    *0%*                 UNKNOWN        View
>>> References     View Metadata
>>> 1287355996.h5 RECEIVED    *0%*                 UNKNOWN        View
>>> References     View Metadata
>>> 1287425397.h5 RECEIVED     100%         UNKNOWN        View References
>>>   View Metadata
>>>
>>> The problem lies with the two products that show % complete being 0%.
>>>
>>> When I use fmprod to download the product:
>>>
>>> wget
>>> http://..../fmprod/data?productID=26b9cb0b-c5dd-11e1-bb9f-036596780c6e<http://kat-archive.kat.ac.za:8983/fmprod/data?productID=26b9cb0b-c5dd-11e1-bb9f-036596780c6e>
>>>
>>> I get:
>>> HTTP request sent, awaiting response... 500 Internal Server Error
>>> 2012-07-14 20:20:38 ERROR 500: Internal Server Error.
>>>
>>> So I'd like to "edit" the lucene catalog to update this piece of
>>> metadata to reflect that the % complete is 100. Are there any tools
>>> available to do this?
>>>
>>> Also at some point I must figure out why its happening :)
>>>
>>> Cheers,
>>> Tom
>>>
>>
>
>
> --
> -Sheryl
>

Reply via email to