tagged [search]
Performing Breadth First Search recursively
Performing Breadth First Search recursively Let's say you wanted to implement a breadth-first search of a binary tree . How would you go about it? Is it possible using only the call-stack as auxiliary...
- Modified
- 1 Nov at 15:32
Going to a specific line number using Less in Unix
Going to a specific line number using Less in Unix I have a file that has around million lines. I need to go to line number 320123 to check the data. How do I do that?
Does AvalonEdit :TextEditor have quick search/replace functionality?
Does AvalonEdit :TextEditor have quick search/replace functionality? I use `AvalonEdit:TextEditor`. Can i enable quick search dialog (on Ctrl-F for example) for this control? Or maybe someone has code...
- Modified
- 28 Jul at 13:55
Finding first and last index of some value in a list in Python
Finding first and last index of some value in a list in Python Is there any built-in methods that are part of lists that would give me the first and last index of some value, like:
Solr - Getting facet counts without returning search results
Solr - Getting facet counts without returning search results I need to return only the facet counts from solr. So I basically want to search over all documents and return the facet counts, but I don't...
- Modified
- 25 Feb at 07:58
How to find the index of an element in an int array?
How to find the index of an element in an int array? How can I find an index of a certain value in a Java array of type `int`? I tried using `Arrays.binarySearch` on my unsorted array, it only sometim...
Search code inside a Github project
Search code inside a Github project Is there a way to grep for something inside a Github project's code? I could pull the source and grep it locally, but I was wondering if it's possible through the w...
Converting user-entered search query to where clause for use in SQL Server full-text search
Converting user-entered search query to where clause for use in SQL Server full-text search What's the best way to convert search terms entered by a user, into a query that can be used in a where clau...
- Modified
- 22 Jul at 22:52
Look at each character in a string
Look at each character in a string I was wondering if anyone knew how to look through a string at each character and then add each character to a new string? Just a really really basic example, I can ...
How can I search for a commit message on GitHub?
How can I search for a commit message on GitHub? Not [in a Git repository](https://stackoverflow.com/questions/7124914/how-to-search-a-git-repository-by-commit-message), but rather in [GitHub](http://...
MySQL search and replace some text in a field
MySQL search and replace some text in a field What MySQL query will do a text search and replace in one particular field in a table? I.e. search for `foo` and replace with `bar` so a record with a fie...
Find an element in a list of tuples
Find an element in a list of tuples I have a list 'a' I need to find all the tuples for a particular number. say for 1 it will be How do I do that?
Find a string by searching all tables in SQL Server
Find a string by searching all tables in SQL Server Is there any way to search for a string in all tables of a database in SQL Server? I want to search for string say `john`. The result should show th...
- Modified
- 16 Jul at 14:59
ElasticSearch vs SQL Full Text Search
ElasticSearch vs SQL Full Text Search I want to use full text search in my project... Can anyone explain me, what is the difference between ElasticSearch and SQL Full Text Search Or why SQL Full Text ...
- Modified
- 11 Dec at 09:17
Desktop search utility for pdf,chm and djvu files
Desktop search utility for pdf,chm and djvu files I want to write a tool that helps me search pdf/chm/djvu files in linux. Any pointers on how to go about it? The major problem is reading/importing da...
- Modified
- 4 Aug at 14:15
Finding all possible combinations of numbers to reach a given sum
Finding all possible combinations of numbers to reach a given sum How would you go about testing all possible combinations of additions from a given set `N` of numbers so they add up to a given final ...
- Modified
- 7 Jun at 06:15
Vim clear last search highlighting
Vim clear last search highlighting After doing a search in Vim, I get all the occurrences highlighted. How can I disable that? I now do another search for something gibberish that can't be found. Is t...
- Modified
- 8 Jun at 20:42
How to search through all items of a combobox in C#?
How to search through all items of a combobox in C#? I have a combobox, and I would like to search through every element in it. How can I do this? (also the number of items is not the same everytime, ...
- Modified
- 31 Oct at 18:28
How do you search a large text file for a string without going line by line in C#?
How do you search a large text file for a string without going line by line in C#? I have a large text file that I need to search for a specific string. Is there a fast way to do this without reading ...
Is there a short contains function for lists?
Is there a short contains function for lists? Given a list `xs` and a value `item`, how can I check whether `xs` contains `item` (i.e., if any of the elements of `xs` is equal to `item`)? Is there som...
- Modified
- 23 Jan at 02:48
What is ' and why does Google search replace it with apostrophe?
What is ' and why does Google search replace it with apostrophe? In what language does (`'`) represent the apostrophe? I had some website data extracted in JSON format where some of the user c...
- Modified
- 22 Jan at 18:5
How to search multiple columns in MySQL?
How to search multiple columns in MySQL? I'm trying to make a search feature that will search multiple columns to find a keyword based match. This query: works only for searching one column, I noticed...
- Modified
- 25 Mar at 10:15
What is the best full text search open source project (.NET preferred)?
What is the best full text search open source project (.NET preferred)? I've developed an index and search application with Lucene library. but this library has some limitation in custom ranking in my...
- Modified
- 4 Apr at 09:45
How can I perform full recursive directory & file scan?
How can I perform full recursive directory & file scan? here is my code: The problem is that it doesn't get t
- Modified
- 19 Jun at 09:10