search

how to search the string like google search php

hi i want to know how to get search like google search... thanks and advance ...

Searching Computer Names from AD in MOSS 2007

Hello, I have an urgent requirement in MOSS 2007 as below, I want to search/get Computer Names from Active Directory in SharePoint just like search users; Could you please check and help on the same ? Thank you. ...

Copy files from search tab in eclipse 3.4

I just want to copy list of files displayed in eclipse search tab, When i try using right click copy and paste into some folder it does not work.It actually copies the file location rather than the file itself ...

Search algorithm (with a sort algorithm already implemented)

Hello, Im doing a Java application and Im facing some doubts in which concerns performance. I have a PriorityQueue which guarantees me the element removed is the one with greater priority. That PriorityQueue has instances of class Event (which implements Comparable interface). Each Event is associated with a Entity. The size of that p...

Resources for getting started with Lucene.Net?

I'm building a simple site that allows users to post text content and I want to add it to a search index as it gets posted, so my site search is up to date. From what I can tell Lucene.NET is a good full text search framework. I've found very few examples of how to use it though. Can anyone post some good references for learning about...

Drupal - Search box not working - custom theme template

Hello, I am using a customised version of search-theme-form.tpl When I use the search box, I do get transferred to the search page. But the search does not actually take place. The search box on the search results page does work though. This is my search-them-form.tpl.php file (demo : <input type="text" name="search_theme_form_keys" i...

dismissing search display controller keyboard

Hi, I am using search display controller and a search bar. When i click inside the serach bar the keyboard appears. When i navigate away to another page , the keyboard does not disappear and stays in the same page. Can you please help me ? Thanks, Andy. ...

Why is Perl commonly used for writing CGI scripts?

I plan to add a better search feature to my site, so I thought that I would write it in C and use the CGI as a means to access it. But it seems that Perl is the most popular language when it comes to CGI-based stuff. Why is that? Wouldn't it be faster programmed in C or machine code? What advantages, if any, are there to writing it in a...

Algorithms for "fuzzy matching" strings

By fuzzy matching I don't mean similar strings by Levenshtein distance or something similar, but the way it's used in TextMate/Ido/Icicles: given a list of strings, find those which include all characters in the search string, but possibly with other characters between, preferring the best fit. ...

Sharepoint | webpage search for document library

Dear All, I totaly new to sharepoint, I would like to create a simple webpage, inside WSBS2008, to search a specific document library. The search should identify the filename of the files and retrive a list of them How should I do it? Can anybody help me starting with this? BR Gameiro ...

Concept: Information Into Memory Location.

I am having troubles conceptualizing an algorithm to be used to transform any information or data into a specific appropriate and reasonable memory location in any data structure that I will be devising. To give you an idea, I have a JPanel object instance and I created another Container type object instance of any subtype (note this is...

Hibernate/Lucene/HibernateSearch: find all words that start with specific prefix.

I want to get a list of all words in a database table that start with a specific prefix. I've been looking for a way to query the terms in a Lucene index (I need the terms, I don't care about the documents they are from) but without success. Any ideas? ...

SolrException: Internal Server Error

Hi All, I am working on Solr in my application. I am using apache-solr-solrj-1.4.0.jar When I try to call add(SolrInputDocument doc) of CommonsHttpSolrServer I am getting following exception: org.apache.solr.common.SolrException: Internal Server Error Internal Server Error at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.requ...

PHP mysql - ...AND column='anything'... ?

Is there any way to check if a column is "anything"? The reason is that i have a searchfunction that get's an ID from the URL, and then it passes it through the sql algorithm and shows the result. But if that URL "function" (?) isn't filled in, it just searches for: ...AND column=''... and that doesn't return any results at all. I've ...

[AS 3.0] How to use the string.match method to find multiple occurrences of the same word in a string?

In Actionscript and Adobe Flex, I'm using a pattern and regexp (with the global flag) with the string.match method and it works how I'd like except when the match returns multiple occurrences of the same word in the text. In that case, all the matches for that word point only to the index for the first occurrence of that word. For exam...

In MySQL, if the movies table has a description field, how to do search on this description?

Say, using MySQL, if the movies table has 20,000 records, and each record has a field that is the description of the movie, up to 2k byte long. How can we search for movies with the word "nature" in its description? If possible, it is to be fast, instead of going through all the 20,000 records. (if in some other situations, like for b...

How well does Solr scale over large number of facet values?

I'm using Solr and I want to facet over a field "group". Since "group" is created by users, potentially there can be a huge number of values for "group". Would Solr be able to handle a use case like this? Or is Solr not really appropriate for facet fields with a large number of values? I understand that I can set facet.limit to rest...

Google GSA Stems for scandinavian languages

I have installed Scandinavia-2.1-1 language bundle to our GSA. After that I expected to find those languages available in Query Expansion, but nope nothing new there. Am I missing something? How are you other Scandinavians handling stems for your language? ...

Algorithm to pick values from set to match target value?

I have a fixed array of constant integer values about 300 items long (Set A). The goal of the algorithm is to pick two numbers (X and Y) from this array that fit several criteria based on input R. Formal requirement: Pick values X and Y from set A such that the expression X*Y/(X+Y) is as close as possible to R. That's all there is to ...

How can I make keyword order more relevant in my search?

In my database, I have a keywords field that stores a comma-delimited list of keywords. For example, a Shrek doll might have the following keywords: ogre, green, plush, hero, boys' toys A "Beanie Baby" doll ( that happens to be an ogre ) might have: beanie baby, kids toys, beanbag toys, soft, infant, ogre (That's a completely cont...