Buffer overrun problems are well known. Thus we were blessed with standard library functions such as wcscat_s(). And the kind folks at Microsoft have created similar safe string functions such as as StringCbCat().
But I have a problem where I need to search a bit of memory for a string. The Standard library function:
wcsstr( wchar_t* ...
I have no experience building a search solution, but I'd like to have a search box within my solution and I don't know where to even begin. Are there cool SQL Server tricks that I can use to make my search solution performant (I'm using a hosted SQL 2008 server) I'd love pointers to a multi-step tutorial that starts me off with a simpl...
ViM has this option hlsearch where a searched string is displayed in highlight mode at all places in the file it is found. Is there a way to do the same in Visual Studio?
That is, if I search for "foobar", then all the foobar in the file are shown highlighted and this display remains until my next search. I find this very useful to see ...
Hi,
Im trying to create a semantic search using java as a base programming language. My task is to create a search prototype which contains triples namely patients, visits and doctors. If i search with a patient name the result should be the patients name and the the time of visit and the corresponding doctors name. Im going to use trip...
Given a string text which contains newline there is a search keyword which matches an item within the text.
How do I implement the following in C#:
searchIdx = search index (starting with 0, then 1, etc. for each successive call to GetSearchContext. Initially start with 0.
contextsTxt = string data to search in
searchTxt = keyword t...
I'm developing a web app using Django, and I'll need to add search functionality soon. Search will be implemented for two models, one being an extension of the auth user class and another one with the fields name, tags, and description. So I guess nothing too scary here in context of searching text.
For development I am using SQLite and...
Given a filename, how do I efficiently search for that file on disk?
(Visual Studio 2005, i.e. .NET 2.0)
...
I just start integrate Hibernate Search with my hibernate application. The data is indexed by using Hibernate Session everytime i start the server.
FullTextSession fullTextSession = Search.getFullTextSession(session);
Transaction tx = fullTextSession.beginTransaction();
List books = session.createQuery("from Book as book").list();
for...
I am trying to aggregate movie times off of google/movies search into a usable format such as json or xml
http://www.google.com/movies?q=movie+times&sc=1&mid=&hl=en&oi=showtimes&ct=change-location&near=new+york
The Google AJAX api does not seem to work for this as you cannot do a movie search.
Does anyone know ...
I am trying to implement a feature similar to the "Related Questions" on Stackoverflow.
How do I go about writing the SQL statement that will search the Title and Summary field of my database for similar questions?
If my questions is: "What is the SQL used to do a search similar to "Related Questions" on Stackoverflow".
Steps that I c...
Say,search for results whose Field is 'A' or 'B'?
it seems the default is AND.
...
I've been using X1 and Microsoft Search to index my source code, but find that asp and other web files are indexed as HTML and searchable by the HTML content rather than the source code.
Is there a desktop search that lets me index my code samples as TEXT and not apply the formatting and restrict my search?
...
This may be a stupid question, but is it possible to capture what a user typed into a Google search box, so that this can then be used to generate a dynamic page on the landing page on my Web site?
For example, let's say someone searches Google for "hot dog", and my site comes up as one of the search result links. If the user clicks the...
Is it possible to search Google for all sites built by a specific author declared by a meta author tag?
eg http://www.google.com.au/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=v6J&q=%3Cmeta+name%3D%22author%22+content%3D%22Fred+Smith%22%3E&btnG=Search&meta=
...
This is admittedly similar to (but not a duplicate of) http://stackoverflow.com/questions/737275/pros-cons-of-full-text-search-engine-lucene-sphinx-postgresql-full-text-search, however what I am looking for are specific, supported, recommendations from the benefit of experience with more than one of the available systems (there seems to ...
What is the FieldBridge for timestamp in HIbernate Search?
@Field
public java.sql.Timestamp approvedDate;
...
I want to find out more about the $ev special variable and special variables in general. Anyone know how to search to ensure google or bing or yahoo doesn't ignore the $ sign. The usual help about using + in front of the word doesn't seem to help nor speech marks.
Yes I've tried search google for the answer, stack overflow seem to have...
One of the problems I have with Google is that it seems to strip special characters like dots, commas and some other special characters, which are usually what I'm looking for when I'm trying to find anything programming-related
ex: django @ sign returns irrelevant data. Perhaps you know a way (or an alternative/technique) to make this ...
I read some articles on Web crawling and learnt the basics of crawling. According to them, the web crawlers just use the URLs retrieved by the other web pages and going through a tree (a mesh practically)
In this case how does a crawler ensures the maximum coverage. Obviously there may be a lot of sites that don't have referral links f...
How to use booleanQuery with StandardAnalyzer in Lucene Search?
...