search

Quick Filter List

Everyone is familiar with this functionality. If you open up the the outlook address book and start typing a name, the list below the searchbox instantly filters to only contain items that match your query. .NET Reflector has a similar feature when you're browsing types ... you start typing, and regardless of how large the underlying a...

fastest way to detect if a value is in a set of values in Javascript

I have a set of String values in Javascript, and I need to write a function that detects if another specific String value belongs to this set or not. What is the fastest way to achieve this? Is it all right to put the set of values into an array, and then write a function that searches through the array? I think if I keep the values sort...

What is the meaning of "I cosay"?

Search the web for the phrase "I cosay". I run across this phrase being used from time to time by individuals in tech forums, but for the life of me, I cannot figure out what it means or how it makes sense in the context of the conversations where it is used. Am I just way behind the times? New slang? ...

Most efficient algorithm for mesh-level, optimal occlusion culling?

I am new to culling. On a first glance, it seems that most occlusion culling algorithms are object-level, not examining single meshes, which would be practical for game rendering. What I am looking for is an algorithm that culls all meshes within a single object that are occluded for a given viewpoint, with high accuracy. It needs to be...

Tools to search for strings inside files without indexing

I have to change some connection strings in an incredibly old legacy application, and the programmers who made it thought it would be a great idea to plaster the entire app with connection strings all over the place. VS "current project" search is INCREDIBLY slow, and I don't trust Windows Search. So what's the best free, non-indexed t...

How do I search in files (for example in Java files) in Vista?

Is there a way or tool for Vista I can use to search for content in Java files? (I do not have an Eclipse project set up for it) I used to be able to do it easily in the windows search tool when I had Windows 2000. Edit: I have already enabled "search file contents" and added additional file types as recommended by xsl and Grant Wagne...

What is the best way to do a wildcard search in sql server 2005?

So I have a stored procedure that accepts a product code like 1234567890. I want to facilitate a wildcard search option for those products. (i.e. 123456*) and have it return all those products that match. What is the best way to do this? I have in the past used something like below: *SELECT @product_code = REPLACE(@product_code, '*', '...

How does google return "searches" from other websites?

Let's say I'm performing a google search for search term. Sometimes, one of the suggestions will be to a URL like this: www.someothersearch.com/search+term/ How does "someothersearch.com" do this? ...

Sharepoint search, redirect from OSSSearchResults.aspx to Search centre

Hi, i have a question about configuration fo search pages in sharepoint. There are two types of searches: contextual which searches just in current page or list (they are labelled like: This site: Name of site or This list: Name of list), they point to OSSSearchResults.aspx page custom searches which can be user defined, they point to...

What's Up with O(1)?

I have been noticing some very strange usage of O(1) in discussion of algorithms involving hashing and types of search, often in the context of using a dictionary type provided by the language system, or using dictionary or hash-array types used using array-index notation. Basically, O(1) means bounded by a constant time and (typically)...

Which is the best opensource project which uses lucene extensively?

Either in .net or java. ...

sql search query for multiple optional parameters

I'm trying to write a query for an advanced search page on my document archiving system. I'm attempting to search by multiple optional parameters. I have about 5 parameters that could be empty strings or search strings. I know I shouldn't have to check for each as a string or empty and create a separate stored procedure for each combi...

Create a Search Engine with SQL 2000 and ASP.NET C#

I am looking to create a search engine that will be based on 5 columns in a SQL 2000 DB. I have looked into Lucene.NET and read the documentation on it, but wondering if anyone has any previous experience with this? Thanks ...

Search using Windows for files ending in jsp

I'm trying to search using the windows search one of my web directories for any uses of scriptlets. However, the search seems to be ignoring all files ending in .jsp. I searched for plain words, and that didn't work either. Is there a reason Windows ignores these files when searching? ...

How to search for a person's name in a text? (heuristic)

I have a huge list of person's full names that I must search in a huge text. Only part of the name may appear in the text. And it is possible to be misspelled, misstyped or abreviated. The text has no tokens, so I don't know where a person name starts in the text. And I don't if know if the name will appear or not in the text. Example:...

Best way to represt n/ depth tree for use in PHP (MySQL / XML / ?)

I am currently in the process of rewriting an application whereby teachers can plan curriculum online. The application guides teachers through a process of creating a unit of work for their students. The tool is currently used in three states but we have plans to get much bigger than that. One of the major draw cards of the application...

Free database of Google word frequencies?

On the Stackoverflow podcast this week, Jeff mentioned that in 2004 he wrote a script which queried Google with 110,000 English words and collected a database containing the number of hits for each word. They use this on Stackoverflow e.g. for the "Related" list on the right-hand side of each question page. Since creating one of these t...

SharePoint Search: Exclude lists and listitems from search results

Hi, I'm very new to the MOSS 2007 search and just started playing around with the configuration. At the moment the index contains nearly everything a site has to offer. After testing the search on my publishing portal I realized that many of the search results are not very useful for the users. E.g. the search results include entries ...

Searching phrases in Lucene

Could somebody point me to an example how to search for phrases with Lucene.net? Let's say I have in my index a document with field "name", value "Jon Skeet". Now I want to be able to find that document when searching for "jon skeet". ...

Moss 2007 SSP Error "Search application '{0}' is not ready."

I'm trying to fix a broken SSP on a MOSS 2007 site. The problem I am running into manifests itself as follows... In the SSP "Search Settings" page I get this message: The search service is currently offline. Visit the Services on Server page in SharePoint Central Administration to verify whether the service is enabled. This might also ...