Thanks Chris! And +1 for upgrading to a newer version of Lucene for 0.5. On Mon, Jul 16, 2012 at 4:14 PM, Mattmann, Chris A (388J) < [email protected]> wrote:
> Hey Sheryl, > > On Jul 16, 2012, at 10:40 AM, Sheryl John 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. > > That's possible, yep, depending on the Luke version you use. If you > use a newer version it will automatically upgrade the catalog to something > that isn't compatible with lucene-core-2.0.0.jar, the archaic version of > Lucene > that we depend on. > > However, if you find something like lukeall-0.6.2 or 0.7.0 .jar then I > think > it will work fine. > > > I remember Ricky trying to edit the filemgr catalog with Luke and faced > the above issue. > > Yep see above. > > Cheers, > Chris > > > > > 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 > > > > 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 > > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Chris Mattmann, Ph.D. > Senior Computer Scientist > NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA > Office: 171-266B, Mailstop: 171-246 > Email: [email protected] > WWW: http://sunset.usc.edu/~mattmann/ > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Adjunct Assistant Professor, Computer Science Department > University of Southern California, Los Angeles, CA 90089 USA > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > -- -Sheryl
