lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gimantha Bandara <giman...@wso2.com>
Subject Re: How to merge several Taxonomy indexes
Date Mon, 23 Mar 2015 21:44:51 GMT
Hi Christoph,

I think TaxonomyMergeUtils is to merge a taxonomy directory and an index
together (Correct me if I am wrong). Can it be used to merge several
taxonomyDirectories together and create one taxonomy index?

On Mon, Mar 23, 2015 at 9:19 PM, Christoph Kaser <lucene_list@iconparc.de>
wrote:

> Hi Gimantha,
>
> have a look at the class org.apache.lucene.facet.taxonomy.TaxonomyMergeUtils,
> which does exactly what you need.
>
> Best regards,
> Christoph
>
> Am 23.03.2015 um 15:44 schrieb Gimantha Bandara:
>
>> Hi all,
>>
>> Can anyone point me how to merge several taxonomy indexes? My requirement
>> is as follows. I have  several taxonomy indexes and normal document
>> indexes. I want to merge taxonomy indexes together and other document
>> indexes together and perform search on them. One part I have figured out.
>> It is easy. To Merge document indexes, all I have to do is create a
>> MultiReader and pass it to IndexSearcher. But I am stuck at merging the
>> taxonomy indexes. Is there a way to merge taxonomy indexes?
>>
>>
>
> --
> Dipl.-Inf. Christoph Kaser
>
> IconParc GmbH
> Sophienstrasse 1
> 80333 München
>
> www.iconparc.de
>
> Tel +49 -89- 15 90 06 - 21
> Fax +49 -89- 15 90 06 - 49
>
> Geschäftsleitung: Dipl.-Ing. Roland Brückner, Dipl.-Inf. Sven Angerer. HRB
> 121830, Amtsgericht München
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>


-- 
Gimantha Bandara
Software Engineer
WSO2. Inc : http://wso2.com
Mobile : +94714961919

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message