cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject Re: Mods to CocoonLucene
Date Fri, 22 Nov 2002 17:35:48 GMT

On Friday, Nov 22, 2002, at 17:10 Europe/London, Vadim Gritsenko wrote:

> Vadim Gritsenko wrote:
>
>> Jeremy Quinn wrote:
>
>
> ...
>
>>> PS. Please remember to commit your SearchTransformer, it's going to 
>>> be much more powerful solution for modifying queries on the fly, and 
>>> all that can lead to ....
>>
>
> Ok, it's in. That's LuceneTransformer in the scratchpad, take a look 
> at it. I use it to populate index directly from database, bypassing 
> crawling (otherwise index creation will not finish in several days!!!)
>
> I'm really sorry that I've provided no documentation to it, but usage 
> principally is similar to:
>
> <lucene:index create="yes">
> <lucene:document url="http://host/app/path/document">
> <document>
>  <header><title lucene:store="yes">My Document Title</title></header>
>  <body>
>    <s1 title="Introduction" lucene:text-attr="yes">
>      ...
>    </s1>
>  </body>
> </document>
> </lucene:document>
> ...
> </lucene:index>
>
>
> Here,
> lucene:store: Means that index will store content of this element to 
> be shown later in search results.
> lucene:text-attr: Means that attributes of the element should also be 
> indexed together with the content of the element.
>

Excellent, Vadim, I'll have a look.

Many thanks

regards Jeremy


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


Mime
View raw message