How to either delete an Algolia index/database or clear it? - algolia

How can we remove all the indexes/database or clear it.
I need to remove all the records. Is it possible from the dashboard ?

Yes, it's possible from the dashboard.
Go to "Indices" along the left hand side, then
Choose the index that you want to delete from the dropdown next to the word Index.
Along the right hand side of the screen, you'll have a few options to "Manage current index." One of them will allow you to delete the index in question.

Related

How to create a form allowing multiple checkbox selection in Wix?

Does anyone know if there's a possibility to create a form where users can select multiple checkbox options instead of just one? I need users to be able to check multiple boxes. Any help for a newbie would be greatly appreciated.
I know I'm late, but if you're using Wix Forms, you can click on the form, click the plus sign, then click "Selection" in the left column, then click "Multi Checkbox Field" to get checkboxes where users can select more than one. Right now you're probably using Radio Buttons, which are often used as the default in most form templates but only allow for one box to be selected.

Save search results, new results in a new tab?

Many times when changing code, need to search for something, see one of the results in detail, search for something new based on the first result. see that, then go back to the first search result list and similarly process the 2nd find.
But the first search result list is gone due to the 2nd search.
Love to be able to save it/ make next search result appear in a new tab. Is there a way?
The Eclipse Search view has a "Show Previous Searches" button in the upper-right section of the toolbar that preserves the last 10 searches (you can configure this number):

Make enter select existing or top match

We've implemented algolia for our search, but now we're trying to figure out how I can trigger "enter" to select the existing match (say you're done typing and it's a match), or the #1 selected choice that comes from the dropdown.
I haven't been able to find any good documentation on this. Does anybody know how to do this?
Example (here I want 0934 to be chosen when you click enter):
I think you're just looking for the autoselect parameter of autocomplete.js.
autoselect – If true, pressing ENTER in the search bar will automatically select the first suggestion.
I guess, based on your question, that you've already handled the selection event afterwards, but in case you didn't, or for others that would stumble upon this question, the next thing to do is to use the autocomplete:selected event to use this selection (e.g. redirect or change something on the page).

How to disable collapsing the open accordion group in AngularUI

I know I can use close-others to make sure no more than one group is open, but I want to make sure exactly one group is open. That is, I want to prevent the user from being able to close the ope group.
Is there a way to do it?
It seems not possible to do it with the accordion. What I ended up doing is replacing the accordion with a list of collapse items that has ng-click that set the current selected item, and unselect the previously selected item.

Android delete from listview, user experience

I've seen how iphone users delete from lists - its generally a swipe action and then shows some minus/remove button.
I realize that it is counterproductive to implement iphone things on android because android users don't know this stuff.
I don't want to do that, I just don't know of a better/intuitive way to delete from a listview.
I've previously opted for doing "longclicks" on listview items, which will show an alertdialog asking if you want to delete or do other things, but this is never an obvious thing to do.
I've seen delete buttons that are shown in each view, but that messes with the layout of the listview, in a way that wasnt' considered in the wireframes.
What is a good intuitive way to allow the user to remove items from listviews on android?
Here's my two cents before I pitch my answer. Any one who has an android phone is going to know or eventually find out that longclicks often lead to another menu. Yes, it's not immediately obvious but they are going to figure it out just as iphone users have figured out the swipe action is to delete.
If you really want a fool proof way for a user to know how to delete, I would implement checkBoxes. (More on check boxes here)If the user checks the item, bring up a "soft menu" at the bottom that has a bunch of options normally associated with long clicks.
If you look at the gmail application and check a box, you'll see what I mean when I say "soft menu".
Another way you could go would be to implement check box, then have "menu options." Every android user should be able to see and figure out the menu button on their device, all devices have them. Make one of the menu options delete and you're all set.
http://developer.android.com/guide/practices/ui_guidelines/menu_design.html#options_menu
I agree that long click is horrible, but it is the standard on Android; people are more likely to be able to discover using this than any alternative gesture.
Also, put in a delete menu item on the Activity you get to after selecting something from the ListView.
In my view you should add checkbox to your list view and give a separate button for deleting items from list I mean to say that add a delete button in the layout in which your list view is also present and when user checks the item which he/she wants to delete and click on the delete button,the item which is checked by the user gets remove from list.