search

how to build Drupal 6 user form that display results on page ?

I want to build site with a search form on LEFT and RESULTS in content(center) part. I know how to create modules .. but how do I assign their location ? OR should I place SEARCH FORM as BLOCK and assign them to LEFT in build/block/. SEARCH FORM has 3 textboxes, non of them is required. "name","surname","age" whatever user type in I'...

How to search for file names in Visual Studio?

In Eclipse you can search for a file in the project by pressing CTRL-SHIFT-R. Is there a way to do this in Visual Studio? ...

Finding uncommon elements across multiple vectors

I am attempting to find the elements that are not common across multiple vectors. That is, I want to know exactly the elements (not just their position, etc.) that are not shared across all vectors. The best implementation I could come up with uses a nested-loop, which I realize is probably the least efficient, most notably because the ...

Algorithm Optimization - Shortest Route Between Multiple Points

Problem: I have a large collection of points. Each of these points has a list with references to other points with the distance between them already calculated and stored. I need to determine the shortest route that begins from an origin and passes through a specific number of points to any destination. Ex: I'm on vacation and I'm st...

Search Database - ASP.NET MVC C#

I'm attempting to implement complete search functionality in my ASP.NET MVC (C#, Linq-to-Sql) website. The site consists of about 3-4 tables that have about 1-2 columns that I want to search. This is what I have so far: public List<SearchResult> Search(string Keywords) { string[] split = Keywords.Split(new char[] { ' '...

Custom Search Provider for IE7 using javascript: call - is it possible?

I would like to create a custom search provider for IE7 or IE8 that is not requesting a URL with the search string as a parameter, but calls a JavaScript function instead, passing the search string as an argument to the function. To get started, I tried something really simple in my search provider XML: <Url type="text/html" method="get...

Is there enough information to know what this regex is searching and replacing?

Could anyone explain what's being replaced here? I don't know if enough information is present to understand what's being searched and what's being replaced: regEx.Pattern = "(\s) *(\S)" regEx.Global = True that = regEx.Replace(that, "$1$2") ...

iPhone : parse Lengthy XML file on the Base of Key Field

hi all, i want to parse the xml File. xml File structure is following <?xml version="1.0" encoding="utf-8"?> <Level> <p id='327'> <Item> <Id>5877</Id> <Type>0</Type> <Icon>---</Icon> <Title>Btn1Item1</Title> </Item> <Item> <Id>5925</Id> <Type>0</Type> <Icon>---</Icon> <Title>Btn1I...

Zend_Search_Lucene query parsing problem

Here's the setup, I have a Lucene Index and it works well with the 2,000 documents I have indexed. I have been using Luke (Lucene Index Toolbox, v.0.9.2) to debug queries, and am using ZF 1.9. The layout for my Lucene Index is as follows: I = Indexed T = Tokenized S = Stored Fields: author - ITS category - ITS publication - ITS public...

Python module search path problem

Hi, I am trying to work on a dev environment but am find problems in that python seems to be using modules from the site-packages directory. I want it to be using the modules from my dev directory. sys.path returns a bunch of dirs, like this ['', '/usr/lib/python26.zip', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib...

What's a good strategy for exposing fatal IFilter problems to the user?

How do I expose errors that occur inside an IFilter to the user? The IFilter can be loaded by a variety of Microsoft products, server products like SharePoint included. It will be separated into modules one of which is an NT service for handling indexing huge files, connection will be performed via RPC. So just anything can go wrong - p...

Skip the .xsd when searching

We use the built in table adapter wizard in VS2005 to build a portion of our app, resulting in an enormous .xsd file being generated. It's never interesting to have this .xsd included when searching through code, so I would like to be able to skip it when using Quick Find. Is this possible? ...

JQuery $( returning null

I am having problems with my JQuery returning null. Here is my JQuery (which is contained in a .js).... $(document).ready(function() { var chkBox = $("#gvEntryPoints input[id$='cbxIncludeAll']"); chkBox.click(function() { $("#gvEntryPoints input[type='checkbox']").attr('checked', chkBox.is(':checked...

Search is only matching words at the beginning.

In one of the code examples from Apple, they give an example of searching: for (Person *person in personsOfInterest) { NSComparisonResult nameResult = [person.name compare:searchText options:(NSCaseInsensitiveSearch|NSDiacriticInsensitiveSearch) range:NSMakeRange(0, [searchText length])]; if (nameResult == NSO...

WPF - Filtering/Searching multiple collection views within a treeview

I have a treeview that is bound to a collection and each item in the collection is bound to another collection. (using hierachle data templates) I would like to use the collection view .Filter event handler to search the tree. The problem is that I need multiple collection views. What would be the best way to filter the tree view items...

searching a List<>

I have a List<Order> public int OrderID { get; set; } public string CustID { get; set; } public string Details { get; set; } I want to write a method that accepts a ID, then searches this List for matching records that have same CustID and returns ORderID and Details in a List<> ...

search functionality on multi-language django site

hi folks, I'm building a multi-language Django site, and I'm using django-transmeta for my model data translations. Now I'm wondering if there is a Django search app that works with multi-language models. I've played with Haystack and it works fine for single-language sites, but I can't get it to work with transmeta's metaclasses... Do...

JQGrid Search form behind the transparent modal overlay window

This has got to be a stupid mistake but for the life of me I can't figure it out. I am trying to use the search feature from the navigator of jqgrid. When I click the search icon the form displays above the grid but then the entire area (grid and search form above it) are covered by a transparent search modal window. I am stuck at this p...

widget for implementing auto complete for search engine

I'm putting together a search engine. I need a text field (with autocomplete) and a Search button. (Clicking the Search button submits the form.) There are many javascript autocomplete solutions out there (some are listed at http://webtecker.com/2008/03/10/10-auto-complete-ajax-scripts), but I need one that works in tandem with the Se...

Stored procedure search using entity framework

Hi everyone. I want to implement a search logic that I have seen and use. It works like this: There is stored procedure that is loaded in entity framework and it is used as a method in C#, it takes parameters in order to perform search. That method is returning list of views (DB View). The views in list have just some of the properti...