Hi,

Each document is indexed with timestamp value. So you can find default set
of fields in solr/conf/schema.xml file.

We haven't noticed such issue when we were making above improvement. It's
better to do a debug round in "org.wso2.carbon.registry.indexing" component.

Regards,
Chandana



On Tue, Sep 2, 2014 at 4:36 AM, Jenananthan Yogendran <[email protected]>
wrote:

> Hi
> This is regarding the public jira[1]. Recently added api list is not
> updated with most recent apis.
>
>
>  *getRecentlyAddedAPIs(int limit, String tenantDomain) *method in 
> *APIConsumerIml.java
> * is used to get the recently added apis with given limit.
>
> This method uses PagniationContext search to retrieve the recently added
> apis from registry as follow.
>
> *PaginationContext.init(0, limit, "DESC", "timestamp", Integer.MAX_VALUE);*
>
> But api rxt doesn't have a field called timestamp. Because of this sorting
> by timestamp does not work and first 5 apis(where limit is set to 5) are
> returned.
>
> PaginationContext has been used for APIM store performance improvement[2].
> Was this issue noticed when doing this performance improvement ?
>
> 1.https://wso2.org/jira/browse/APIMANAGER-2675
> 2.https://wso2.org/jira/browse/APIMANAGER-2532
>
> --
> Jenananthan Yogendran
> *Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
>


-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  [email protected] <[email protected]>**Mobile : +94718169299*

*Blog  :    http://cnapagoda.blogspot.com <http://cnapagoda.blogspot.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to