search

Goal: How to implement search option within " " [double quotes]

Hi all. My goal is to implement a file searching option within " " [double quotes] in my application.. Any help would be deeply appreciated.. ...

Searching MySQL data

Hi guys.. I am trying to search MySQL database with a search key entered by the user. My data contain upper case and lower case. My question is how to make my search function not case sensitive. ex:data in mysql is BOOK but if the user enters book in search input. The result is not found....Thanks.. My search code $searchKey=$_POS...

Wildcard searches using dismax handler ?

Hi, I have successfully indexed files, and want to be able to search using wildcards. I am currently using the dismaxRequestHandler (QueryType = dismax) for the searches so that I can search all the fields for the query. A general search like 'computer' returns results but 'com*er' doesn't return any results. Similary, a search like 'c...

Using IComparer<> with delegate function to search

This feels like a too easy question to be found with google, I think/hope I've got stuck in the details when trying to implement my own version of it. What I'm trying to do is to sort a list of MyClass objects depending on my Datatype object different search functions should be used. I've had something like this in mind for the class Da...

Code in Railscasts 111 -Advanced Search Form

In one particular Railcasts episode Ryan talks about advanced search and in that he uses some code so as to find the conditions for the search. As its working isn't explained I wanted some clarification regarding it. def products @products ||= find_products end private def find_products Product.find(:all, :conditions => conditions) ...

How do I search for anything between these tags

How do I search for anything between these tags, I would like to list all occurences where there is some value between the f:facet xml element <f:facet name="header">Name</f:facet> ...

XSLT - replace value in one node with the value from it's preceeding sibling

Hi There, I'm trying to write an XSLT transformation which will replace the value in one node with the value of it's preceding sibling. Then return the entire document transformed :) Find the occurrences of <package:packageDownloadLocator>http://myunwantedurl&lt;/package:packageDownloadLocator&gt; and replace with the text value of i...

Not sure how to programmatically filter by taxonomy metadata in my custom search webpart.

I have pages in a pages library on a publishing site which have a managed metadata (taxonomy) field in their content type. I want my custom search webpart to read the taxonomy set on its parent page (I can do this fine) and then query against a specific scope using only the selected tags of the parent page as the filter (no keyword neces...

Google like search query using Full Text Search in SQL Server

I am running a small website wherein I would like to make a functionality like Related Links section. For that I created fulltext catalog and index. So far I tried many ways to create search query which behaves like google, but I would say i was not even 10% close to what google is doing. During my research what i found was only follo...

Search Query Optimization

I haven't ever dug into cleaning/reformatting search queries too much in the past, at least not more than general security things like preventing sql injection. I am realizing that I should be implementing keywords like AND, OR, NOT, etc... and doing things like clearing punctuation such as apostrophes, hyphens, etc... As when a user ty...

Getting around the b/s with SEO..

Being a web developer for awhile, I've grown a huge distrust in SEO gurus etc. Most of what they say is just hearsay that no one can really prove. And at this point, I would take a lot of pride in calling them out on their deprecated b/s. :D Does anyone know a source of solid SEO information I can find? ...

Retrieving Cookie values from different domain

Hi! I have a site for example mysite.com which store a cookie when user enter etc. But my search page has a different subdomain/domain search.mysite.com. How do I retrieve the cookie from mysite.com? when i try to retrieve the cookie using the google search appliance . it gets me the cookie for search.mysite.com. I need the cookie va...

Solr for constantly updating index

I have a news site with 150,000 news articles. About 250 new articles are added daily to the database at an interval of 5-15 minutes. I understand that Solr is optimized for millions of records and my 150K won't be a problem for it. But I am worried the frequent updation will be a problem, since the cache gets invalidated with every upda...

How to perform Phonetic and Aproximative search in Lucene.net

When I read the Lucene.net docs, the only analyzer that I find is the standard one. I want to make sure I can do Phonetic or Aproximative search on my index. Is there some extra library I should use on top of Lucene.net? ...

Maintaining state across site in C# ASP.NET

Hi, I have a website that returns search results from Twitter, written in C# ASP.NET. The search works very well. When the user sees the results I want them to also have a 'Next Page' type hyperlink that will perform the search from the last previous result onwards (using Twitter's next_page data). How can I preserve properties so th...

What is the name of this search term popularity component?

If you look at SharpCrafters, the front page has a cool component that shows how popular certain search terms are, with larger text for more popular terms. I've seen this around the web in different places, especially blogs. What is this called in general, and what specific implementations exist? ...

How do I make certain tables searchable by google?

I'm using perl, and I want others to find certain issues on my site using google. How can I do that? In wordpress (php) there is this option: I would like my blog to be visible to everyone, including search engines (like Google, Bing, Technorati) and archivers I would like to do the same using perl. ...

Problem using Wildcard search in Solr

Hi, I am having a problem doing wildcard searches in lucene syntax using the edismax handler. I have Solr 4.0 nightly build from the trunk. A general search like 'computer' returns results but 'com*er' doesn't return any results. Similary, a search like 'co?mput?r' returns no results. The only type of wildcard searches working currren...

Search algorithm for the smallest index in a sequence of vectors matching predefined conditions

Let us presume we have k sequences of fixed length p. Each sequence has double values in range 0 to 1.0. For simplicity let us also assume that the sequences are just arrays; in the real implementation, they will be list. Now, the algorithm needs to find the smallest index the value of which represents a "major upset" in a given sequenc...

How to create a personal search engine

I have a ton of data on the web built just for me: gmail Delicious Bookmarks Flickr Facebook Also, some local data that should be sent to a central index: browser history As well as some local data that I do not want to leave the machine: My Documents Is there a simple way to build a search engine for all of this data? Of co...