Skip to content
#

search

Here are 3,347 public repositories matching this topic...

blueyed
blueyed commented Sep 12, 2019

rg --debug should output information about ignore files being read.

Currently it outputs something like the following, but it is not clear where the patterns are coming from:

% rg --no-config --debug foo
DEBUG|rg::args|src/args.rs:544: not reading config files because --no-config is present
DEBUG|grep_regex::literal|grep-regex/src/literal.rs:59: literal prefixes detected: Literals {
TheSuperNoob
TheSuperNoob commented Mar 2, 2020

Is there a reason why in travis CI config the command black --check . || true is run? I don't see the point in checking if files needs to be reformatted if it's just going to be ignored anyways.

Currently running black --line-length 127 --check . -> 399 files would be reformatted, 74 files would be left unchanged.

In additio

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
apiontek
apiontek commented Apr 27, 2020

Running paperless on python 3.8 (on ubuntu 20.04) with gunicorn 19.9.0 yields this error:

/usr/lib/python3.8/os.py:1023: RuntimeWarning: line buffering (buffering=1) isn't supported in binary mode, the default buffer size will be used
  return io.open(fd, *args, **kwargs)

This was resolved in gunicorn 20.0 per this issue and doing

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
jeduardo824
jeduardo824 commented Jul 18, 2019

After facing an issue caused by Ransack interpreting 1/'t' as true and some unsuccessful research, I found about the sanitize args and the recommended way to skip them. The documentation never mentions that ransackable_scopes_sanitize_args must be a class method and the example shown defines an instance method.

I think that's worth a documentation update, making more clear how to use th

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

cclauss
cclauss commented Nov 28, 2019

golangci-lint run --no-config searches

##[error]searches/binary_search.go:20:6: `iterBinarySearch` is unused (deadcode)
func iterBinarySearch(array []int, target int, lowIndex int, highIndex int) int {
     ^
##[error]searches/binary_search.go:6:6: func `binarySearch` is unused (unused)
func binarySearch(array []int, target int, lowIndex int, highIndex int) int {
     ^
vladak
vladak commented May 5, 2019

When working on a fix for #2755 I noticed that Git tag parsing is sub-optimal performance wise - to determine changeset/date for each tag a new command is spawned via Executor in buildTagEntry(). For repositories with large set of tags (e.g. Linux kernel) this could be taxing.

Either convert this to parallel execution (thread pool) or find a way how to get all the data in single command.

dpasqualin
dpasqualin commented Feb 18, 2020

I was trying to apply the "completion" example from https://github.com/elastic/elasticsearch-dsl-py/blob/master/examples/completion.py on my data set while using bulk insert to import the data to ElasticSearch, but I noticed that the values generated in the clean() method are not exported by the to_dict(include_meta=True) method, required to perform bulk insert. The solution is to manually exe

mdaniel
mdaniel commented Jan 20, 2019

What happened

Accidentally omitting document content returns 500 Internal Server Error with a body of {"message":"Internal error","uri":"/new_index"}

What was expected

Emitting any kind of helpful message would be helpful. Also, in my experience, when the client receives a 500 response, there is usually something informative on the server-side. But in this case, the server e

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.