Algolia: search - show featured items on top of page - algolia

Is it possible to construct order criteria in that way that all featured items goes always on top of the page ? I would like to performe this in single search call.

Algolia allows you sort your results. If your records have this "featured" attribute indexed, you can ad it to your formula.
Please find the doc here: https://www.algolia.com/doc/guides/relevance/sorting/
I also recommend you to have a look at the Custom ranking feature https://www.algolia.com/doc/guides/relevance/ranking/#custom-ranking

Related

I want to pass input value from one page and show search results in another page in algolia instant search?

I want to achieve just like this... https://magento.algolia.com/ when you search from home page and it will redirects you to result page along with the previous search value. I saw about the custom widgets of the instant search but cannot come over through. If I search 'shirt' over the above given site, the result page should be like this, https://magento.algolia.com/catalogsearch/result/?q=shirt
Finally found solution,using the following parameters and then pass it to InstantSearch at initialization. searching_value van be fetched using javascript.
searchParameters:{
query: searching_value
}

Is it possible to view a list of all documents written by myself in Confluence?

Alright, I wrote many documents in Confluence. Now I want to reread one of my document, but it's in a long list of documents written by my team.
I think it would be faster to find the document if I can view a list of all the documents written by myself, but is it possible? How?
Go to "People" link in your Confluence site and search for user name. Click on your name returned in search result and it will take you to your "Activity" page. Below link is from Confluence latest version.
https://confluence.atlassian.com/doc/search-the-people-directory-201706.html#SearchthePeopleDirectory-Searchforpeople
In a Confluence page click the + icon and select Other macros:
Select the Content by User macro
Add your username and select yourself.
Then save and view the page. You should see a list of every page created by you (or any user entered).
Note: This will also show you images uploaded seperately, so you may have to filter a bit.

Google Custom Search - filter data from within a page

I am using Google Custom Search to enable users to search within my website. I have one page that displays a list of references (to scientific publications) as well as other content (dynamic). I would like to display the results so that references including the search term are filtered into their own tab - but I can only see how to label a whole page, not just a section of a page. This means I can filter for 'references', but get other content in my results, not just the references. Is there a way of doing this?
Yes, its possible I suppose. And I had done it sometime back and it had worked as expected. Have a look at these links -
Tech Republic Set up Google Custom Search and
Google Custom Search

How to search Facebook's "invitable_friends" results

I have a Facebook app, and I'd like to allow my users to invite their Facebook friends to my app. The proper endpoint is /me/invitable_friends which is working well. But towards the bottom of that doc page, they recommend implementing a "search box" to filter the results, yet they don't offer any example of how to do this. I've searched around and haven't found anything.
It doesn't appear as though you can pass additional params for filtering the results. Obviously I can filter the results after the fact, but that's not scalable since the API only returns ~20 users at a time. That limit is modifiable (I believe), though it's of course not wise to bump it too high.
So how can I build a search box interface if I can't pass the search text to the endpoint? I must be missing something.
Thanks in advance.
PS - I'm using the JS SDK.
You should probably file a bug.
Based on the documentation the default size is 1000 records (average Facebook friend list size is 300-400)
If you don't see the next parameter at the end of the result under paging then there are no more results.

Getting facebook's indexed movies, music, schools etc

Is there anyway to get all of facebook's indexed content to use on my own site (through their API maybe)? Instead of having users type in their own favorite movies, they'd pick from a suggestion list basically.
You might try the search API. It should let you pass partial names and filter by categories so you can generate a list for your autocomplete field.
No, there's no way. Also, actually dont have a list. They create a page/link for any movie, place, song you update :)