[Registry-dev] Lucene Integration
Chathura C. Ekanayake
chathura at wso2.com
Mon Jul 21 05:44:35 PDT 2008
Great work. Now we get the basics (and the hardest part) of the content
search working. I think below should be our next steps.
1) Combine the results of content search with results of other (SQL)
searches. We have to improve the Registry API to support such combine
searches.
2) Integrate content search to the advances search page in the UI. Once
the API for combined search is done, this should be fairly straight forward.
3) Investigate possibilities of performing searches excluding xml tags
(this may not be a immediate requirement).
Thanks,
Chathura
Kalani wrote:
> The content search functionality is now integrated with the UI. A drop
> down list is added to select the type of search (tag or content). To
> test the content search select content from the drop down list and
> submit keywords.
>
>
> Chathura C. Ekanayake wrote:
>
>> 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
>>>
>>>
>>>
>>>
>> _______________________________________________
>> 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