Search Mailing List Archives
[bioontology-support] REST includeproperties setting in search
Trish Whetzel
whetzel at stanford.edu
Mon May 10 16:54:14 PDT 2010
Hi Tomasz,
This behavior is correct. The Lucene index is set by default to
collect the top 1,000 hits. Before returning the result set to the
user via the Web service, the duplicates are removed. Therefore, there
can be more duplicate results in the Lucene index result set when
including properties in the search since there are more chances to
have a good match from the search term to either the term name,
synonym or any other property that the ontology term has. The maximum
number of hits parameter can be adjusted as documented here: http://www.bioontology.org/wiki/index.php/NCBO_REST_services#Search_services
Trish
On May 7, 2010, at 5:50 AM, Tomasz Adamusiak wrote:
> Hi,
>
> Setting includeproperties to 1 on a search query actually returns
> less results than the 0 setting. Links to test:
>
> 519 hits:
> http://rest.bioontology.org/bioportal/search/thymus/?includeproperties=1&email=tomasz@ebi.ac.uk
>
> 578 hits:
> http://rest.bioontology.org/bioportal/search/thymus/?includeproperties=0&email=tomasz@ebi.ac.uk
>
> Am I missing something there?
>
> Cheers
> Tomasz
>
>
> --
> Tomasz Adamusiak, MD, PhD
> European Bioinformatics Institute
> +44 (0) 1223 492 562
> tomasz.adamusiak at ebi.ac.uk
> _______________________________________________
> bioontology-support mailing list
> bioontology-support at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/bioontology-support
More information about the bioontology-support
mailing list