[Registry-dev] Lucene Integration

Chathura C. Ekanayake chathura at wso2.com
Mon Jul 14 01:35:03 PDT 2008


Sounds good. Now we can have a UI control to search resources by content.

Our next problem is to combine the normal and content searches. We don't 
have to worry about combining search results, when performing SQL only 
searches. But in this case we have to combine the results returned from 
SQL and Lucene. So I think the solution is to merge the search results 
in Java (registry) level.

Thanks,
Chathura

Kalani wrote:
> I implemented a separate class (Indexer class) to do the indexing. Thus 
> it can be used from any handler. A sample handler which uses Indexer 
> class is also implemented.
>
> For searching purpose a new method (Collection searchContent (String 
> keywords)) was introduced to the Registry API.
>
> Thanks,
>
> Kalani
>
> Kalani wrote:
>   
>> Hi,
>>
>> I have completed the sample application which includes creating the
>> index in the database, loading index into the memory, searching and
>> periodically flushing index updates to the database.
>>
>> The plan is to write a handler to manage the index and to introduce a
>> new method to the Registry interface for content searching in order to
>> integrate this with the Registry.
>>
>> Thanks,
>> Kalani 
>>
>> _______________________________________________
>> Registry-dev mailing list
>> Registry-dev at wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>>
>>   
>>     
>
>
> _______________________________________________
> Registry-dev mailing list
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>
>   




More information about the Registry-dev mailing list