search

popular search statistics

Does anyone know a script or API I can use in my website to display search statistics (from popular search engines) for various keywords? e.g Google Tv, Black Ops.. ...

Search range of int values using djapian

Hi, I'm using djapian as my search backend, and I'm looking to search for a range of values. For example: query = 'comments:(0..10)' Post.indexer.search(query) would search for Posts with between 0 and 10 comments. I cannot find a way to do this in djapian, though I have found this issue, and patch to implement some kind of date rang...

Google AJAX API Search - returns only 4 values

Hi Im writing a simple class which I am going to use for some testing. My problem being it is only returning 4 results per search phrase. The output is: foo http://en.wikipedia.org/wiki/Foobar http://www.foofighters.com/ http://foo.com/ http://www.foopets.com/ bar http://www.autorepair.ca.gov/ http://en.wikipedia.org/wiki/Bar_(un...

Do I need to implement a b-tree search for this?

I have an array of integers, which could run into the hundreds of thousands (or more), sorted numerically ascending since that's how they were originally stacked. I need to be able to query the array to get the index of its first occurrence of a number >= some input, as efficiently as possible. The only way I would know how to do this ...

GridView with paging enabled is not filtering based on input from other Controls (DropDownList, TextBox)

Hi guys, Can someone please assist me. I have dynamically created controls onto my page which consists of a GridView, DropDownList, TextBox and Button. I have successfully retrieved data onto the GridView control which then has a paging attribute enabled. Now I am trying to filter data according to the input set by the user through th...

php searching question

Hey guys, I have a lot of php code and I'm going through it right now (500+ files). I was hoping to find a program that would let me easily search through the files to see which files contain a specific variable I am editing. Kind of like a super edit -> find from notepad++. Anyone have any suggestions? Best, Pavan ...

A question on editing a seach view in Django

Hello I am working in django how to use a search form from Django documents site. Here are some information below. Now, is there a way I can produce a part search for title? For example if I wanted to search for a book called "Apress", But instead of typing the whole word I just wrote "ap" to get Apress. Is there a way how to achieve thi...

Freebase: Format search result to list all properties of object of unknown type(s)

I'm trying to write a MQL query to format a search result in freebase (the "output" parameter in the search API). I essentially want to find the (simple) values of all the properties of a given search result (without knowing anything about the types of the result a priori). By "simple", I mean only the default properties if the values ar...

Java recursive binary search throwing out of bounds exception?

Hey, I have been asked to write a recursive binary search for my data structure class in university, but i'm having a slight problem. When i search for a number that is out of bounds (over 10 in this case) it throws an out of bounds exception. I understand why it's doing it, due to the array not having >10 spaces, but i don't know how to...

A Django seach form that I cannot make it work

Hello I have been recently working on Django search forms recently and have tired to edit one myself. Here is a search form that is supposed to find Clients. However When I type in a clients name, it does not display that client's name. So I am wondering What I am doing wrong. #model.py class Client(models.Model): comp...

How to disable QSB..?

Hi friends, Whenever user presses the Search hard key on device, Android it brings out the Quick Search Bar. I want to disable QSB. How to do it, please help. Thanks in advance. Updates: Solution I override the method onSearchRequested() and returned true from there. This completely disabled the Quick Search Bar (QSB). ...

how to increase mysql full-text accuracy?

I am running a simple mysql full-text query that searches for users on my site based off of their "display name". The query example is below - in this example we are searching 'lancaster toy store': SELECT MATCH(`display_name`) AGAINST ('lancaster toy store') as `rel` WHERE MATCH(`display_name`) AGAINST ('lancaster toy store') ORDER BY ...

Searching through lists with Scheme (DrRacket)

So here's my code: (define *graph* (read(open-input-file "starbucks4.sxml"))) (define get-artifacts (lambda (l) (member (list 'opm:artifact) l))) When I type get-artifacts(*graph*) I get an error saying procedure application: expected procedure, given:...(the whole of my file contents) Anyone see what I'm doing wrong? Thanks gu...

Structuring a recipe database

I'm working on building a database that will search for recipes by ingredients. For example, I think I plan on populating the database with types of ingredients that are accepted, but I don't want to have to parse the string which includes all the ingredients in a particular recipe. I was thinking of making just like an list of acceptab...

Custom search UI (and suggestions View(s)) in Android

Hi everyone! I have a question I've been searching an answer for in the last days with no luck. I'd like to have a search facility in my app - and that's not a problem, I've read lots of stuff on the topic. What I can't find anything about is how can I provide a custom search UI, like you have in the official Twitter app, that allows me...

add a duplicate (hidden) text layer to a pdf for extra searching

My problem: I have a pdf with lots of roman characters with complex diacritical marks (e.g., ṣ, ś, ṝ, ǎ, etc.). To make it easier to search within the pdf, I would like to add an additional layer, much as one does with hocr, where the same text is present without the diacritics. When using full-text search engines I can index multiple...

how to implement MKMapView Search;

Is there an example code? ...

Dynamic filtering, am I doing it wrong?

Hi, So I have an umbraco site with a number of products in it that is content managed, I need to search/filter this dataset on the front end based on 5 criteria. I'd estimate I will have 300 products. I need to filter this data very fast and hide show options that are no longer relevant based on the previous selections. I'm currently ...

Extract keywords from text in .NET

I need to calculate how many times each keyword is reoccurring in a string, with sorting by highest number. What's the fastest algorithm available in .NET code for this purpose? ...

WPF Generic Search Box for a window (only View search no backend search)

I was thinking of ways to implement a generic View search. What I mean here is say a Window has many controls (including usercontrols,customcontrols, etc). I want to implement a generic search box on the top of window which searches any Text in the window and highlight them. I wanted to know is there a generic way of doing this or has ...