cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Morrison" <john.r.morri...@ntlworld.com>
Subject RE: Ant: Re: Adding XML searching with Lucene
Date Sun, 09 Dec 2001 21:05:30 GMT
> -----Original Message-----
> From: giacomo [mailto:giacomo@apache.org]
> > > searching for 'cocoon' would result in something like:
> > >
> > >  <search:results>
> > >   <search:hit rank="1" score="89%" uri="...">
> >
> > Wouldn't rank be determined by <search:hit>'s position() within
> > <search:results>?
>
> Not necessarily. Think about pagination.
>

Wouldn't pagination be a result of transformation?

First request:

<xsl:transform match="search:hit(position() &lt;= 25)">

Next request:

<xsl:transform match="search:hit(position() &gt; 25) and
	search:hit(position() &lt;= 50)">

(where 25 and 50 would be replaced with something like pagination *
no_results_to_display)

no?


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message