search

comparing strings in PostgreSQL

Hello! Is there any way in PostgreSQL to convert UTF-8 characters to "similar" ASCII characters? String glāžšķūņu rūķīši would have to be converted to glazskunu rukisi. UTF-8 text is not in some specific language, it might be in Latvian, Russian, English, Italian or any other language. This is needed for using in where clause, so it m...

Filter rows on the basis of "First Name" + "Last Name" in SQL

Hi, I have a user table in my database which contains two columns FirstName and LastName. Now in my front end there is a textbox to filter out the users from this table. Let's suppose I am taking that input from the front end in the form of a input parameter "@SEARCHKEYWORD". I have created a sample below: DECLARE @Test TABLE ([ID] IN...

How to use kyewordsearch query in c#

How to use kyewordsearch query in c# to implement the Search object. What settings need through Central administration to enable kyewordsearch query ? Also please send me Syntax for KeywordQuery.QueryText. means how to write query ? ...

Delphi Search files and directories fastest alghorithm

Hi, I'm using Delphi7 and i need a solution to a big problem.Can someone provide me a faster way for searching through files and folders than using findnext and findfirst? because i also process the data for each file/folder (creation date/author/size/etc) and it takes a lot of time...I've searched a lot under WinApi but probably I hav...

SharePoint 2010 Unauthorized exception

Hi, I am trying to get search categories from the code (Microsoft.Office.Server.Search.Administration.SearchServiceApplication.Schema.AllCategories). However it throws me UnAuthorized exception( ThrowIfNotSearchAdmin) error. Has anybody faced and resolved this? Where to configure search administrator in SharePoint 2010? Thanks ...

Elegent methods for caching search results from RESTful service?

I have a RESTful web service which I access from the browser using JavaScript. As an example, say that this web service returns a list of all the Message resources assigned to me when I send a GET request to /messages/me. For performance reasons, I'd like to cache this response so that I don't have to re-fetch it every time I visit my Ma...

Serializable object in intent returning as String

In my application, I am trying to pass a serializable object through an intent to another activity. The intent is not entirely created by me, it is created and passed through a search suggestion. In the content provider for the search suggestion, the object is created and placed in the SUGGEST_COLUMN_INTENT_EXTRA_DATA column of the Mat...

Good search services for a PHP (CodeIgniter) based job board?

Does anyone know any good 3rd party license based or open source search services (like Yahoo BOSS) that index and search through content? I'm creating a niche job board in CodeIgniter and I'd rather not have my search be in PHP. I'd like the service to be customizable enough to support refining content, and location based searching. ...

When to use which search technique in Sharepoint development?

When I have to use KeywordSearchQuery, when should I use FullTextSearchQuery and when should I use Query in developing the search part in Visual Studio for a Sharepoint site? I want to search information from Contact list. If any keyword is put in the search box, I wan related information in our own specified format. Which technique sho...

Sharepoint 2010: Full text plus faceted search over an External Content List using Search Services (or possibly FAST)

I have an External List over a products table in our database. I want to be able to build a search form over it via a full text search; in addition to being able to filter down on properties on my initial search. For example, say I'm looking for DVDs under 10.00 in product DB. I want to be able to have a search box where I enter "DVD OR...

iPhone Multithreaded Search

I'm sort of new to any sort of multithreading and simply can't seem to get a simple search method working on a background thread properly. Everything seems to be in order with an NSAutoreleasePool and the UI being updated on the main thread. The app doesn't crash and does perform a search in the background but the search results yield th...

How to add search.asmx web reference to webpart application in VS2008 ? facing problem.

Hi, I am trying to create the custom search webpart. I want to use Enterprise Search Query Model (MOSS) . But unable to add the web reference of the search.asmx webservice. infact it has no WSDL file. just wondering about what setting it needs.... too If anybody know how to do, same. please let me know. you can find the search webservice...

Why is find next in zend/eclipse Ctrl-K and not F3

Is there a specific reason for it, or just a new key. Does the K for that reason have any meaning? ...

Fastest and most efficent way of seaching a key-value pair in Java?

DISCLAIMER: THIS QUESTION WAS NOT MEANT TO BE ARGUMENTATIVE!!!!!!! What is fastest and less memory draining way of searching a key-value pair? I will be storing items in a key-value like relation and I need to access them quickly. Should I use a SQLite database? A Map? A Hashtable? A HashMap? Please give some advantages/disadvantages ...

Lucene.Net memory consumption and slow search when too many clauses used

I have a DB having text file attributes and text file primary key IDs and indexed around 1 million text files along with their IDs (primary keys in DB). Now, I am searching at two levels. First is straight forward DB search, where i get primary keys as result (roughly 2 or 3 million IDs) Then i make a Boolean query for instance as foll...

Indexing content and synonyms for a search engine.

I am developing a search engine. I am thinking about taking unique words from , lets say descriptions of products, and making a call to an API to get synonyms and index them also. "fast and powerful laptop" would yield the following results... of course "fast and powerful laptop" AND another field with "accelerated capable netbook" ...

Writing a search engine

Hello all, The title might be a bit misleading, but I couldn't figure out a better title. I'm writing a simple search engine which will search on several sites for the specific domain. To be concrete: I'm writing a search engine for hardstyle livesets/aftermovies/tracks. To do I will search on the sites who provide livesets, tracks, and...

Search sort by parameter match count in the query? PostgreSQL

I am working on a search query in PostgreSQL, and one of the things I do is sort my query results by the number of parameters matched. I have no clue how this can be done. Does anyone have a suggestion or solution? Table brand color type engine Ford Blue 4-door V8 Maserati Blue 2-door V12 Saturn G...

Delphi - threads and FindFirst function

Hi, I'm encountering a big problem when i'm trying to make a recursive search function inside a thread (using delphi 7) bellow is the code: TParcFicDir = class(TThread) private several variables.. protected procedure Execute; override; public constructor Create(CreateSuspended: Boolean); constructor TParcFicDir.Create(Cr...

What is the difference between EdgeNGramTokenizerFactory EdgeNGramFilterFactory in SOLR?

What is the difference between these two filters? They seem to have the same effect? Can anyone supply an example of how they are applied to some text? Thanks ...