Skip to content
#

search

Here are 869 public repositories matching this topic...

sheffieldnick
sheffieldnick commented Mar 31, 2020

Can this be added to the List API docs please?
As well as the documented:

listObj.search('Jonny'); // Only item with name Jonny is shown (also returns this item)
listObj.search(); // Show all items in list
listObj.search('Jonny', ['name']); // Only search in the 'name' column

search also supports a (currently undocumented) custom search function as the 2nd or 3rd argument:

dkijkuit
dkijkuit commented Oct 20, 2017

Can someone please explain these search results? I have multiple fields in my index but I only want to search the 'title' field so I created this query:

var searchText = "business";
var results = this.mainIndex.query(function (q) {
     q.term(searchText, { fields: ["title"] })
});

The first two results for the title are in the following order:

  • Manage business processes
takdw
takdw commented Apr 19, 2018

I wanted to change the padding around the search box but I couldn't achieve it. I tried to look in the CSS file but not much info is there. And I can see that there are multiple static values of height set in the constants/ui.js file. What is the right way to increase padding around the search box? And also what about rounded corners?

flexsearch
george-dotdev
george-dotdev commented Feb 18, 2020

Affected Projects
React

Is your feature request related to a problem? Please describe.
Was looking through the change log and the new documentation but could not find any reference to the deprecated DataController.

Describe the solution you'd like
Would be great to get some documentation on the recommended way to migrate from using DataController to not using it.

**Descr

rkpatel33
rkpatel33 commented Aug 29, 2018

I have a computed resource called a support ticket that consists of a profile and a list of messages that belong to that profile, as below. When I search on "Tom how are you" I would want to come up with this ticket (found hits in profile.first_name and message[0].text).

{ 
  "id": 45,
  "profile": {
    "id": 45,
    "first_name": "Tom",
    "last_name": "Brown",
  },
  "
eklem
eklem commented Apr 29, 2019

Is it possible to do stuff like this, @fergiemcdowall :

  • autocomplete on several words (matching on two, three or more words, meaning this needs to be indexed too)
  • number of results
  • only show a subset (i.e. 10 of 273)
  • filter on more than just one word
  • add an arary in an object and be able to filter on one item in that array
  • show what is available to filter on
  • delete everythin
ColdSauce
ColdSauce commented Jan 25, 2018

Hi,

I recently stumbled upon this project. However, when coming to your landing page, I couldn't really tell what it was until reading for a bit. The first thing on the landing page is an argument as to why science fair should exist (which I think is a really great mission and great argument) but it doesn't talk about what it is. There isn't really a one or two sentence description explaining

Improve this page

Add a description, image, and links to the search topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the search topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.