Hi all,
I am outputting a list of search results for a given string of keywords, and I want any matching keywords in my search results to be highlighted. Each word should be wrapped in a span or similar. I am looking for an efficient function to do this.
E.g.
Keywords: "lorem ipsum"
Result: "Some text containing lorem and ipsum"
Des...
I found this one, in the Find box (as Search criteria) of the document viewer.
What is supposed to match?
...
I have the following attributes applied to my linq to sql class:
[Document(MetadataType = typeof(SomeObjectMetadata))]
public partial class SomeObject
{
}
And this is the metadata code:
public class SomeObjectMetadata
{
[Field(FieldIndex.Tokenized, FieldStore.Yes, IsKey = true)]
private object ProductId { get; set; }
...
Hello,
I would like to have a trending tags in my website according to searches users made. The problem I'm not seeing an simple solution for is how to easily extract the important terms out of a search string. For example, many users might search for "visual studio" with different purposes. For example, "visual studio 2010", "visual s...
Is it possible to open the App Store app from within my app and run a search?
I'm looking to see if there's an appstore:// type URL that I could use, in the same way that mailto: and sms: open Mail and SMS respectively.
Does anyone know if this is possible?
Edit - more info:
I've been trying using UIApplication's openURL: method, pas...
IDE: Delphi 1 16-bit (Yeah it's old, no I can't afford a newer version or the hardware needed to run it. Besides I'm just learning Delphi so it serves the purpose fine.)
I've loaded a TOutline with names (to represent an address book). They're in sorted order. I want to be able to search the outline.
Possible searches:
the whole na...
Ok this one is like my previous array searching challenge but with a twist.
You must build a function to search one 2d array (or suitable equivalent in your language) of 32-bit integers for another, and return the X and Y index that the second array exists within the first. If the second array does not completely and contiguously exist ...
I create a form form infopath. on that form i took the text boxes with corresponding fields. then i embed the form in sharepoint. then in my document library , clicked "new", filled up data. then i can see the data columns wise in my document library. let say i fill data as "Lalit" when i tried to search it , it gave me message .
"No re...
Is there a good way to do a multithreaded A* search? Single threaded is fairly easy, as given in (for example) Artificial Intelligence: A Modern Approach, but I have not come across a good multithreaded version.
Assume a sane language like Java or C# or Lisp where we have thread pools and work blocks, and of course garbage collection.
...
Is there an existing plugin or tweak that speeds up the "Go To File" search in Netbeans ? Compared to Eclipse, Netbeans search is way too slow specially if one has multiple large size projects.
I know I can use Ctrl+O for "Go To Type" but often I need to search for other file types like XMLs, property files etc. across thousands of file...
I have one line of code which seems commented. Basically the thing I want to find is the revision that changed this line in the code.
So, is it possible to see changes in code related to a specific keyword in TortoiseSvn Log?
...
I am current in planning on creating a big database (2+ million rows) with a variety of data from separate sources. I would like to avoid structuring the database around auto_increment ids to help prevent against sync issues with replication, and also because each item inserted will have a alphanumeric product code that is guaranteed to ...
What's the best way of generating super relevant results from a MySQL table? I have a list of sites in a table with a title, description and tags. How can I set up a SELECT query/search function in PHP that will find user typed keywords in all three of those columns, and whilst remaining as quick as possible keep the following in mind:...
I have 2 tables containing information that i want to search for, a main table, and a comments table. The main table contains timestamps, subjects, etc. While the comments table holds comments for the individual records in the main table. Its basically a simple ticket system.
I need to be able to search for things in the main table and ...
I know this is probably a really amateur question, but I can't figure this out and I don't know much about PHP or MySQL.
So I have a really simple script that basically allows a user to submit a couple lines of text and their zipcode, then it write it to a database and returns the results on the site. It's a shoutbox essentially.
My c...
Hello,
Here is the situation : we have to offer a customer with a web-based search engine that will make a search for a given string inside a list of documents whose paths are logged in a database.
The supported documents are PDF, Word, Excel, TXT.
So we have 2 options :
PHP
ASP
Anyone heard of any good open-source solutions regar...
Hi All,
I have a small application in java which searches images using bing image search. The problem I am facing is that, its getting only first 20 images. May be because when we search on bing.com it populates first 20 images first and then its an infinite scrolling feature.
Is there any way to search more than 20 images using bing?...
Hi,
I'm trying to work out the best method to search a vector of type "Tracklet" (a class I have built myself) to find the first and last occurrence of a given value for one of its variables. For example, I have the following classes (simplified for this example):
class Tracklet {
TimePoint *start;
TimePoint *end;
int angle...
I made this code which has three strings as you see I perform many queries
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
namespace IR
{
class Program
{
public static bool Search(string[] stop, string w)
{
for (int i = 0; i < stop.Length; i++)
...
I have the text from a PDF document available to me, and I want to display snippets from the text everywhere the user-entered search phrase appears. Say the search term is"iphone", I want to display 200 characters around each iphone word instance in the document. Ideally, the snippet should also start from the beginning of a sentence. ...