search

Do we have sorting and searching function in .net

I was implementing linear search for search in a collection then i thought why not use binary search, for which i had to use sorting. Although I can implement them, but I would like to know where does they exists in .net itself. I hope it would be present in .Net. ...

Implementing database search through query using like

Hi I am planning to implement database search through a website - I know there is full-text search offered by mysql, but turns out that it is not supported for innodb engine (which I need for transaction support). Other options are using sphinx or similar indexing applications. However they require some re factoring of the database str...

Sharepoint 2010: people search is not working

I followed the directions in this *link and the while the "all sites" search is working, the "people" search is not working. Do I need to configure a content source (nothing seems to make sense: sharepoint sites, web sites, file shares, exchange public folders, line of business data, custom repository)? Under the search central admin > s...

Querying a collection of rectangles for the overlap of an input rectangle

In a multi-dimensional space, I have a collection of rectangles, all of which are aligned to the grid. (I am using the word "rectangles" loosely - in a three dimensional space, they would be rectangular prisms.) I want to query this collection for all rectangles that overlap an input rectangle. What is the best data structure for holdi...

creating query result filters with codeigniter

Hi, Im trying to create a query filter system in codeigniter. Basically, within a particular query, Id like to be able to send a list of values returned by the main query (working with items for sale on different sites, so for instance, price, and website), output them to my sidebar, and then be able to drill down the results via the va...

recreating the ipad search bar in the contacts app

In the contacts app, the search bar is shown with a white background and it blends in well with the surrounding UI. The only style choices in Interface Builder don't seem to show a way to host just the search bar, but instead includes chrome around it to make it look slightly 3d. Is there a way to get rid of the surrounding chrome and ...

Writing a dreaded SQL search query.

I am working on a search query that does not seem to work. The complete query is: set ANSI_NULLS ON set QUOTED_IDENTIFIER ON go ALTER PROCEDURE [dbo].[usp_Item_Search] @Item_Num varchar(30) = NULL ,@Search_Type int = NULL ,@Vendor_Num varchar(10) = NULL ,@Search_User_ID int = NULL ,@StartDate smalldatetime = NULL ...

Crawling unlinked content in SharePoint 2010/2007

I have a pages library full of published pages that do not have a link anywhere in my SharePoint site. After a full crawl of my site collection only the default page (there is no navigation menu on the default page) of the web in question is indexed. I know that if I make a page that links all of the pages this will work, but the probl...

Checkbox List in JDialog

I'm trying to use a JDialog box that has a search text field that as text is entered, it shortens a list to those that match. On this list I would like to display each line with a checkbox that can be selected. I might also want the ability for it to function like a select all list where Ctrl + Click on the line would select the item an...

Expand Python Search Path to Other Source

I have just joined a project with a rather large existing code base. We develop in linux and do not use and IDE. We run through the command line. I'm trying to figure out how to get python to search for the right path when I run project modules. For instance, when I run something like: python 'someprojectfile.py' I get ImportError: no...

Spotlight top hit algorithm

Hello, I'm implementing a MacOS X's spotlight like universal search for a web based software. So the basic functionality (fetching results, displaying them) is done and it's working perfectly, but now I have to do some more work on giving the user the right results. Basically I have three important parts in the software Document ID Doc...

Book Recommendations: web search

Hi,need recomendations about www search book in real situations (for example, parameterized fast search in catalogue) with examples. Thanks. ...

Search results on PDFs as deepzoom image

We'd like to show a (DeepZoom) graphic of the our search results, highlighting the most relevant documents/passages from 1600+ PDF document. Having seen DeepZoom used to drill into a massive image it seems possible to generate an image on the fly to do this. Can anyone point me at some resources to help with this, and care to comment on ...

Google Map Get Direction Search Algorithm

Hi! I learned that Google Map has a Get Direction feature that let users find the shortest path from one point to another. What search algorithm did Google used for this search? Is this algorithm can be implemented in the Android platform, knowing that it has low memory and it's running in Java(tend to be slow)? Thanks in advance! ...

How to implement search like Stack Overflow

I have implemented the full text search using Sphinx and Thinking Sphinx. I want to add column wise search. Some thing like:-(taking an example of Stack Overflow) Suppose you want to see actvities related to you, just type: user:me Then it will return a result with all the questions and answers related to piemesons. If you type ...

Cassandra full text search like

Let's say I have a column family named Questions like below: Questions = { Who are you: { username: "user1" }, What is the answer: { username: "user1" }... } How do I search for all the questions that contain certain words? Get all questions that contain 'what' word. How do I do it using python or at le...

Search list of objects based on object variable

I have a list of objects. These objects have three variables, ID, Name, & value. There can be a lot of objects in this list, and I need to find one based on the ID or Name, and change the value. Example class objec { public string Name; public int UID; public string value; } List<objec> TextPool = new List<objec>(); How ...

Ruby on Rails Thinking Sphinx facets

I have an application in which I need to implement the faceted search functionality on one of the fields of the associated models and it does not seem to be working. Here is a brief context: There are 3 models I am working on: 1. Product 2. Attributes 3. ProductAttributes. Please see the code spnippets below: class Product < ActiveReco...

Searching a Mercurial repository (TortoiseHG)?

Is there any way I can enter a particular filename - e.g. "xyz.txt" - and search for any checkins of that file within a Mercurial repository using TortoiseHG? If not, why not? Isn't this what version control is for? ...

Geographic grid search algorithm

Many of the location based services provide APIs for finding places/venues/spots around a given latitude longitude pair. I'm looking into how I can search for these places across an entire city. I can build a grid for a city by getting its bounds from the Google Maps Geocoder and then incrementing the lat/longs to lay down points to fo...