This reply was not delivered to fedora-commons-developers on August 11, so here it is for the record.
-----Original Message----- From: Gert Schmeltz Pedersen Sent: Monday, August 11, 2008 2:22 PM To: 'arne anka'; [email protected] Subject: RE: [Fedora-commons-developers] GSearch, browseIndexToResultPage.xslt: what is available? Hi arne, See below. Best, Gert > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of arne anka > Sent: Friday, August 08, 2008 12:04 PM > To: [email protected] > Subject: [Fedora-commons-developers] GSearch, > browseIndexToResultPage.xslt: what is available? > > hi, > browseIndexToResultPage.xslt gives me a structure like below > <resultPage xmlns:dc="http://purl.org/dc/elements/1.1/" > xmlns:foxml="info:fedora/fedora-system:def/foxml#" > xmlns:zs="http://www.loc.gov/zing/srw/" indexName="TeuchosOnLucene" > dateTime="Fri Aug 08 11:49:43 CEST 2008"> > <browseIndex termTotal="53" resultPageXslt="" termPageSize="1000000" > fieldName="teuchos.motif" startTerm=""> > <fields> > <field>PID</field> > ... > </fields> > <terms> > <term no="1" fieldtermhittotal="16">aigle</term> > ... > <term no="53" fieldtermhittotal="6">tour</term> > </terms> > </browseIndex> > </resultPage> > > now, two questions: > - is there a special value for "termPageSize" meaning "unlimited"? No. > - if the <term> element knows about the number of objects > ("fieldtermhittotal") -- is there a way to have all these objects' ids > as children? ie like No. That would require a search on each term. > > <terms> > <term no="1" fieldtermhittotal="16">aigle > <child no="1">myid:1</child> > <child no="2">myid:2</child> > <child no="3">myid:3</child> > .... > </term> > ... > <term no="53" fieldtermhittotal="6">tour > <child no="1">myid:299</child> > <child no="1">myid:648</child> > </term> > </terms> > > or is the number of objects stored somewhere an not computed on the > fly? Lucene supplies the number with TermEnum.docFreq(), probably not computed on the fly. > > ---------------------------------------------------------------------- > - > -- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & > win great prizes Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Fedora-commons-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fedora-commons-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers
