Configure value boosting in OSF to display data in any order

26 views
Skip to first unread message

rakhich...@gmail.com

unread,
Jan 10, 2018, 7:37:42 AM1/10/18
to Open Semantic Framework
Hi Fred,

Is there any way to  configure value boosting ? How can i enable this value boosting configuration in OSF, 
So, i can get data from search result according to my own order. I didn't found more information related to this in OSF documentation.

Please help me .


Thanks,
Rakhi Chouhan

fr...@fgiasson.com

unread,
Jan 10, 2018, 8:30:15 PM1/10/18
to open-semant...@googlegroups.com

Hi,

If you are using the PHP API, then check this out:

    http://opensemanticframework.org/documentation/apis/php/class_structured_dynamics_1_1osf_1_1php_1_1api_1_1ws_1_1search_1_1_search_query.html


More precisely: attributeValueBoost


But there are others as well. If it is directly using the search endpoint then check the API endpoint documentation or check how the API generates the actual endpoint query.


Hope it helps,


Thanks,


Fred


--
You received this message because you are subscribed to the Google Groups "Open Semantic Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-semantic-fra...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

rakhich...@gmail.com

unread,
Jan 17, 2018, 8:09:18 AM1/17/18
to Open Semantic Framework
Hi Fred,
Thanks for your response first.

i want to search data which is coming from owl file in OSF search. The search data i am getting now is default order. i want to display that some order like ascending order.
using value boosting is it possible?

If ascending order is not possible there how can i show there using boost score. please let me know this in details.  
because i changed $boostmodifier and sort function there in SearchQuery.php but order didn't changed. 
please help me.

Thanks,
Rakhi Chouhan
To unsubscribe from this group and stop receiving emails from it, send an email to open-semantic-framework+unsub...@googlegroups.com.

fr...@fgiasson.com

unread,
Jan 21, 2018, 9:07:03 PM1/21/18
to open-semant...@googlegroups.com

Hi,

Yeah, boosting is different than sorting. You can boost scores as you want with the boosting parameter and you can sort using the sort parameter that way:


=======

sort. Sorting criterias for this query. Sort can be used for "type", "dataset", "uri", "preflabel", "score" or any other url-encoded attribute URIs that are defined with a maximum cardinality of 1. Sorting fields needs to be followed by a space character and a direction "desc" or "asc". Multiple sorting criterias can be added by splitting them with ";". Here is an example of query using sort to sort by type: "type desc". Here is an example of sort that sort by type and dataset: "type desc; dataset asc". Here is an example of a sort that sort with a custom attribute: "http%3A%2F%2Fpurl.org%2Fontology%2Firon%23prefURL desc". By default the sorting order is "asc".

=======


http://wiki.opensemanticframework.org/index.php/Search


Hope it helps


Thanks,


Fred

To unsubscribe from this group and stop receiving emails from it, send an email to open-semantic-fra...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages