lenya-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: Re-Index live publication
Date Wed, 29 Apr 2009 11:02:49 GMT
Hi Frank,

Frank Hamilton schrieb:
> I reindex my publication and for authoring the search run ok, but when I
> pass to live view my search result is o hits.

the "reindex site" usecase indexes only the current area. E.g., if 
called from the authoring area, it reindexes only the authoring area. I 
guess it would make sense to re-index all areas. Would you mind filing 
an enhancement bug? TIA!

-- Andreas


> This is my lucene_index.xml:
> 
> <indexes>
>   <index directory="lenya/pubs/PINTUREX/work/lucene/index/live/index"
> id="PINTUREX-live">
>     <structure>
>       <field id="url" type="keyword"/>
>       <field id="title" storetext="true" type="text"/>
>       <field id="description" storetext="true" type="text"/>
>       <field id="subject" storetext="true" type="keyword"/>
>       <field id="body" storetext="true" type="text"/>
>     </structure>
>   </index>
>   <index directory="lenya/pubs/PINTUREX/work/lucene/index/authoring/index"
> id="PINTUREX-authoring">
>     <structure>
>       <field id="url" type="keyword"/>
>       <field id="title" storetext="true" type="text"/>
>       <field id="description" storetext="true" type="text"/>
>       <field id="subject" storetext="true" type="keyword"/>
>       <field id="body" storetext="true" type="text"/>
>     </structure>
>   </index>
>   <index directory="lenya/pubs/PINTUREX/work/lucene/index/trash/index"
> id="PINTUREX-trash">
>     <structure>
>       <field id="url" type="keyword"/>
>       <field id="title" storetext="true" type="text"/>
>       <field id="description" storetext="true" type="text"/>
>       <field id="subject" storetext="true" type="keyword"/>
>       <field id="body" storetext="true" type="text"/>
>     </structure>
>   </index>
>   <index directory="lenya/pubs/PINTUREX/work/lucene/index/archive/index"
> id="PINTUREX-archive">
>     <structure>
>       <field id="url" type="keyword"/>
>       <field id="title" storetext="true" type="text"/>
>       <field id="description" storetext="true" type="text"/>
>       <field id="subject" storetext="true" type="keyword"/>
>       <field id="body" storetext="true" type="text"/>
>     </structure>
>   </index>
> </indexes>
> 
> I think that I only reindex my authoring area because in my
> work/lucene/index/live/index only a file named segment,  but how can I index
> my live area?
> 
> Any idea, thanks.
> 
> 


-- 
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Mime
View raw message