search

Determining what a word "is" - categorizing a token

Note: Edited for clarification. Clarification: I'm writing a "bridge" between the user and a search engine, not a search engine. Part of my value add will be inferring the intent of a query. The intent of a tracking number, stock symbol, or address is fairly obvious. If I can categorise a query, then I can decide if the user even ne...

How can I search in Visual Studio and get it to ignore what is commented out?

I am refactoring a C++ codebase in Visual Studio 2005. I'm about half way through this process now and I've commented out a lot of old code and replaced or moved it. Now I'm searching to see that I have to change next but the search function keeps bringing me the old commented out stuff I no longer care about. I don't really want to de...

LUcene.NET how ot search forms of words? (as in SQL Server)

Hello All, How can I create index and then search like in SQL Server FTS? I.e. data is indexed once and then user can search: exact matching: "apple", "monkey", "drunk" etc... forms of words: enter "drunk" and find "drink", "drank", "drunk" enter "apples" and find "apples", "apple" context: "app*" and find "apple", "application" e...

English Lexicon for Search Query Correction

I'm building a spelling corrector for search engine queries by implementing the method described in "Spelling correction as an iterative process that exploits the collective knowledge of web users". The high-level approach is as follows: for a given query, come up with possible correction candidates (words in the query log within a c...

ASP.NET C# Search XML Node on multiple criteria

I am trying to search for an xml node: <Countries> <Country FullName="AFRIQUE DU SUD" Code="ZA" IsOut="1" /> <Country FullName="ALLEMAGNE" Code="DE" IsOut="0" /> </Countries> Selecting on the basis of CountryCode only: xmlDoc.SelectSingleNode("//Countries/Country/@[Code='ZA']"); How do I also apply the condition so that I can c...

performing full text searches on huge amount of docs

Suppose you have huge amount of documents, a few millions, and more coming. Suppose you have to publish them on a website with hundreds of thousands of daily pageviews, and suppose you have to let the visitors perform searches on all the documents. What is the best way to store/retrieve the documents? And to perform searches on them? Cu...

Search engine to integrate in a .NET stack

I am looking for a very robust software search engine to integrate in a .Net web site. The current proposed solution is Lucene.NET a stack based on Lucene. However, I would like to evaluate other search engines before making my mind up. The feature set we need is the following: Ability to crawl arbitrary pages via HTTP Ability to pa...

Compare words and get exact match

Now this is tricky... I hope i can explain it well.. I have a a table which names in it and i need to compare it with the word i provide and get the exact match out.. Now i say it is tricky because i tried this query and it gave me a set of names. It contained the word which was an exact match and also words which were similar... this...

How to login to Linkedin website programmatically in C#

I am using LinkedIn API for search. I wish to implement a feature where a user can search but will not need to login. Login can be done programatically using my own credentials. I am stranded at a point where I do not know how to enter email and password in c# and then redirection will take place to my callback-url once Grant Access bu...

Adding Search Capabilities to my website

Instead of writing a PHP script from scratch, I wanted to know if there are any free scripts, plugins, or APIs out there that allow me to add a search box to my website to search only content on my site. Google's free version is ad-supported, and I am looking for a clean, simple, and non ad-supported solution. Any ideas? ...

Full Text Search: find similar software names

Hi, I'm looking for a full text search algorithm that will allow to find similar program names, for example "Mozilla Firefox" and "Firefox 3.5, or "Adobe Reader" and "Adobe Acrobat Reader v10". The Levenshtein distance is too inefficient in this case, since spelling doesn't change. It has to use serial scanning (not indexing). I need...

Implementing search in a Ruby on Rails 3 application?

I am writing my first Ruby on Rails application and need to implement a "search" feature. It will need to search the database (1 column per table in 3 different tables), and return the most relevant results in each of the 3 categories. Kind of like how you can do a search on Amazon.com that will return results from all the different depa...

Self-indexing (and traditional indexing) algorithms - Implementations and advice to share?

As part of a research project I'm currently looking for open-source implementations of self-indexing algorithms, i.e. a compressed form of the traditional inverted index yielding nice characteristics such as faster lookup and/or less consumed space. Do you know of any open-source implementations of self-indexing algorithms? Do you have ...

Google Custom Search with custom search box and button?

Hi! I am trying to make a google custom search (I just need some sort of search engine on my site) and I need to make it so that I can use my own search box (input field). I need it to be an exact size. I also need to be able to make my own button to search. I am going to need to be able to change the size and background of the search bu...

vb.net - Search textfile from certain string, read from that point

Hi, this is probably not that hard to do. But I've got two text files. The first has got a list of certain keywords. Each one if these keywords are fed into a combobox. Now, when I choose one of the items from this combobox, I want to search the other textfile for the same keyword and read from that point to the next keyword. And the...

searching for files from a single folder (knowing prefix) versus searching for files from multiple folders (knowing folder name)

Hi! I've got a system in which users select a couple of options and receive an image based on those options. I'm trying to combine multiple generated images(corresponding to those options) into the requested picture. I'm trying to optimize this so that if, an image exists for a certain option (i.e. the file exists), then there's no need...

Is it possible to search for dates as strings in a database-agnostic way?

I have a Ruby on Rails application with a PostgreSQL database; several tables have created_at and updated_at timestamp attributes. When displayed, those dates are formatted in the user's locale; for example, the timestamp 2009-10-15 16:30:00.435 becomes the string 15.10.2009 - 16:30 (the date format for this example being dd.mm.yyyy - hh...

Building search to the website

I have a website which has about 200 to 300 static public pages. I am required to bring about some kind of search functionality on the website which will search all of its public pages. I don't want to use external tools like Google site search, etc. Is there a tool or open source code that will index the content and then display the sea...

How to search in 5 different fields with all possible choices in no particular order in MySQL using LIKE

Hi, I have a database which contains 5 fields, which are: name, address, idcard, town, street I then have a PHP query which accepts one parameter. In this parameter, you can enter whatever fields you like and the results must still be accurate. For example, if I enter john doe skate street in the search box you will get all the record...

Finding division by zero in a big project

Recently, our big project began crashing on unhandled division by zero. No recent code seems to contain any likely elements so it may be new data sets affecting old code. The problem is the code base is pretty big, and running on an embedded device with no comfortable debug access (debug is done by a lot of printf()s over serial console,...