search

What's the best way to implement a search?

I've got a requirement where a user enters a few terms into a search box and clicks "go". Does anyone have any good resources on how to implement a dynamic search that spans a few database tables? Thanks, Mike ...

Embed Google/ Yahoo search into a web site or build your own

I am looking for an opinion on the whether to use Google custom search, Yahoo search builder or build my own for web projects (no more than 100 pages of content). If I should build my own - do you have any fast start kits you could recommend? Many thanks Chris ...

What's the best approach for using SOLR with web projects?

hey guys ok, I'm totally new to SOLR and Lucene, but have got Solr running out-of-the-box under Tomcat 6.x and have just gone over some of the basic Wiki entries. I have a few questions, and require some suggestions too. Solr can index data in files (XML, CSV) and it can also index DBs. Can you also just point it to a URI/domain, and...

How to build a in-site search engine with php?

I want to build a in-site search engine with php. Users must login to see the information. So I can't use the google or yahoo search engine code. I want to make the engine searching for the text and pages, and not the tables in mysql database right now. Has anyone ever done this? Could you give me some pointers to help me get started?...

Android: making search available throughout the whole application

Right now I'm adding <intent-filter> <action android:name="android.intent.action.SEARCH" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> to every single <activity> in the AndroidManifest.xml, receive the Intent in e...

Getting XML from Google Search API?

The documentation from google only talks about returning JSON. Is it possible to get the results back as XML, or will I have to convert to XML myself? ...

Search by using the keyboard in a list/grid - algorithm

I need to implement a custom search in a grid and I would like to find some user interface guidelines that explain the standard way to implement it. I mean this kind of search that is initiated by the user using the keyboard. The focus on the grid must move to the first row that match the pressed key. I would like to find a good algori...

Tap on empty UITableView to resign search bar

I've got a tableview with a search bar at the top. When I click on the search, it is called to first responder and the keyboard appears. The search bar has a cancel button, but when the table is empty I want the user to be able to tap anywhere on the empty table rows to resign the search bar and keyboard as first responder. How do I do t...

How to solve the “Your search cannot be completed because of a service error” error in Search Center?

Guys, I'm getting this following error only when performing a search through the search center. "Your search cannot be completed because of a service error. Try your search again or contact your administrator for more information" I tried several stuffs like, resetting the crawl content re-configuring the Office Search Service re-as...

Search byte[] for pattern C#

_documentContent contains the whole document as html view source. patternToFind contains text to be searched in _documentContent. Code snippet below works fine if language is English. The same code however doesn't works at all when it encounters a language like Korean. Sample Document Present Tense The present tense is just as you...

setup the search in sharepoint

Hi everyone, for some reason my serach in the sharepoint site does not work, I have set up the SSP, the scopes, the crawls, everything but it still does not work, can someone explai nto me how to setup the search, maybe I did something wrong in the process. ...

Can you mass edit all files returned in a grep?

I want to mass-edit a ton of files that are returned in a grep. (I know, I should get better at sed). So if I do: grep -rnI 'xg_icon-*' How do I pipe all of those files into vi? ...

In C#, what's the best way to search a list of a class by one of the class's members?

Say I have a class that looks something like this: class SomeClass { int m_member; public int Member { get { return m_member; } set { m_member = value; } } } And somewhere else, I have a list of type List<SomeClass> list. If I want to search the list for a particular instance of the class, I can just do ...

Placing a Div dynamically under text box to show options

I have a webpage where i am trying to put a search feature.along with the search box, i put an image.When user clicks on the image i want to show a small div with some content(various filter options like "search in contacts,search in emails,search in trash etc").I want to place the div just below the search box. Now i want to know where ...

improving search times

Hi guys, Just wondering if there is any tips on improving search times (full-text). How do large sites like stackoverflow, reddit, etc, implement their search functions? (Sorry for the vagueness - i am a newbie) ...

Handling no results for docmd.applyfilter

Hi, I have an Access app where I use search functionality. I have a TextBox and a Search Button on the form, and it does a wilcard search of whatever the user enters in the TextBox, and displays the records in other controls (Text and Combo Boxes). To achieve this, I am using the DoCmd.ApplyFilter method and I wanted to know if there ...

sphinx and one-to-many associations

The examples I've seen for sphinx search don't really use joins. If I had a schema like this (one book has multiple reviews), create table book ( id int auto_increment, title varchar(200), summary longtext ); create table reviews ( id int auto_increment, book_id int, review longtext ); What sort of query should I give to sphinx so tha...

Help With UISearchBar Methods

So I'm having trouble implementing a search bar in my app. The methods find the filtered items but for some reason they won't show up in my tableview. I think it has something to do with adding the objects to the filteredListContentArray. What object should I be adding for this to work. Here's my code: { [self.filteredListContent rem...

JQuery/MVC Search Issue

Hi All. This is not easy to explain so please bare with me. I have inherited a piece of work where the entry screen shows a summary of 20 calculated variables. E.g. Var A (250), Var B (79). Clicking on any of these links takes the user to a view with a list of fields - all 20 use the same controller but with a different GET for e...

speeding up windows file search with C#

i made a program that search logical drives to find a specific file .if user type file name an click search button , searching begins , but i don't know how to stop searching in the middle of process.can you help me ? ...