Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] REST includeproperties setting in search

Tomasz Adamusiak tomasz at ebi.ac.uk
Wed May 12 01:26:09 PDT 2010


Hi Trish,

Thanks for a detailed explanation. Setting the maxnumhits to some 
arbitrary large number indeed solved the problem for me.

Thanks
Tomasz

On 11/05/2010 00:54, Trish Whetzel wrote:
> 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