git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd warning during search


I don't have it of hand, but this is the code snippet with the Atlas client
we used:


      SearchParameters.FilterCriteria qualifiedNameCriteria = new
SearchParameters.FilterCriteria();
      qualifiedNameCriteria.setAttributeName(QUALIFIED_NAME);
      qualifiedNameCriteria.setOperator(SearchParameters.Operator.EQ);
      qualifiedNameCriteria.setAttributeValue(qualifiedName);
      SearchParameters searchParams = new SearchParameters();
      searchParams.setTypeName(typeName);
      searchParams.setExcludeDeletedEntities(true);
      searchParams.setEntityFilters(qualifiedNameCriteria);
      searchParams.setLimit(ATLAS_SEARCH_LIMIT);

      AtlasSearchResult searchResult = atlas.facetedSearch(searchParams);


On Fri, May 4, 2018 at 2:37 PM, Apoorv Naik <anaik@xxxxxxxxxxxxxxx> wrote:

> What is the search criteria that you're working with ? If it's basically
> search , can you share the request JSON ?
>
> Sent from Nine<http://www.9folders.com/>
> ________________________________
> From: Pierre Padovani <pierre.padovani@xxxxxxxxxxxxxxxxxxx>
> Sent: Friday, May 4, 2018 12:34 PM
> To: dev@xxxxxxxxxxxxxxxx
> Subject: Odd warning during search
>
> We are seeing this warning message:
>
> not using index-search for attribute 'Referenceable.qualifiedName'; might
> cause poor performance
>
> I have not been able to find a configuration related to indexing/search or
> documentation that could help us resolve this.
>
> Can someone help clarify what would cause this?
>
> Thanks!
>
> Pierre Padovani
>