I'm using VIM 7.1
When I search a string in file, the cursor is moved to the beginning of the string found in the text.
Can the cursor be moved at the end instead of the start of the string ?
String where I'm looking for the search
I want cursor at the g of king when I look for king
I tried to go to previous result :N
I tried to...
Here is the situation:
I have a webpage that I have scraped as a string.
I have several fields in a MSSQL database. For example, car model, it has an ID and a Name, such as Mustang or Civic. It is pre-filled with most models of car.
I want to find any match for any row in my models table. So if I have Civic, Mustang and E350 in my ...
I'm writing a plug-in for another program in C#.net that acts as a catalog creation and search tool for custom content we've created at my office.
An administrator will picks a root catalog folder, and the app will then parses through all the subdirectories looking for specific file types. Then it generates a Catalog by saving the rela...
Hi,
Following is the format of the data stored in my arraylist.
A-Amsterdam
B- Brussels
C-Canada
so and so forth.
I wan to search my array list by passing just the first few characters till '-'
So if i have something like AA-Test then i want to pass just 'AA' to check if it exists or not.
I know that i can use contains or binarysearc...
I'm creating a site that allows users to add Keyword --> URL links. I want multiple users to be able to link to the same url (exactly the same, same object instance).
So if user 1 types in "http://www.facebook.com/index.php" and user 2 types in "http://facebook.com" and user 3 types in "www.facebook.com" how do I best "convert" them to...
I'll just start with the use case. Say I'm searching for a product with a price of $500. I don't necessarily mind if it costs slightly more, or slightly less, but I want products in that price range to receive a higher overall relevance score.
Is there any way to do this in Solr? The relevance/MoreLikeThis docs I've seen on the site don...
Firstly I want to thank all of you who have helped me understand Normalization and how I should build up my database.
Now, I have some final issues left...
How does LINKING of tables actually work?
Say you have three tables:
CATEGORY TABLE:
cat_id (PK) -> 1
cat_name -> cars
CATEGORY_OPTIONS TABLE:
cat_opt_id (FK) -> 1
cat_id (FK) ->...
Is there anyway to ensure the that the fewest number of turns heuristic is met by anything except a breadth first search? Perhaps some more explanation would help.
I have a random graph, much like this:
0 1 1 1 2
3 4 5 6 7
9 a 5 b c
9 d e f f
9 9 g h i
Starting in the top left corner, I need to know the fewest number of steps it wou...
What is storing and what is indexing a field when it comes to searching?
Specifically I am talking about MySQL or SOLR.
Is there any thorough article about this, I have made some searches without luck!
Thanks
...
Is it better if I use ID nr:s instead of VARCHARS as foreign keys?
And is it better to use ID nr:s isntead of VARCHARS as Primary Keys?
By ID nr I mean INT!
This is what I have now:
category table:
cat_id ( INT ) (PK)
cat_name (VARCHAR)
category options table:
option_id ( INT ) (PK)
car_id ( INT ) (FK)
option_name ( VARCHAR )
I COU...
I have a couple of questions about searching in graphs/trees:
Let's assume I have an empty chess board and I want to move a pawn around from point A to B.
A. When using depth first search or breadth first search must we use open and closed lists ? This is, a list that has all the elements to check, and other with all other elements tha...
I have an array of street names sorted alphabetically that I have gathered from a web service. This array exists on the server side.
On the client side, a user starts typing the name of the street he lives on and AJAX is used to return a list of the closest match to the partial street name, plus the next 9 street names in the array (the...
I would like to be able to filter my orders on an amount range AND a specific user_id
The expected result would be to get only the orders where the specified user did a bid on in a certain amount range.
For example there is an order with id 1. User 5 bid on it for an amount of 200.
Now if I want to filter I set the user_id filter to 5 ...
I'm new to Solr and am looking for a way to record searches (or keywords) to a log file or database so that I can then analyse for data visualisation.
Can Solr do this already?
Is this data accessible via. a Solr query?
Thanks.
Update 1
I'm starting to think I might need to write my own Solr analyzer?
...
I am writing an in-house application that holds several pieces of text information as well as a number of pieces of data about these pieces of text. These pieces of data will be held within a database (SQL Server, although this could change) in order of entry.
I'd like to be able to search for the most relevant of these pieces of inform...
Hello,
I am trying to create a form in MVC C# that will allow a user to input a Last Name, First Name, Department, Year and click a Search button that will bring back a list of employees based off the inputted search criteria.
My problem is allowing multiple search textbox criteria into one search button.
I am able to hardcode value...
I'm trying to return results more like the search
My curren algorithm is this
def search_conditions(column, q)
vars = []
vars2 = []
vars << q
if q.size > 3
(q.size-2).times do |i|
vars2 << q[i..(i+2)]
next if i == 0
vars << q[i..-1]
vars << q[0..(q.size-1-i)]
vars << q[i % 2 == 0 ? (i/2)..(q...
I have created a Car content type with taxonomy vocabularies and CCK fields to describe make, model, year, price, color, ect. My site will contain very little content aside from cars, and I want to implement a search form similar to the one found on http://openautoclassifieds.com/search.php. The select boxes allow users to choose from va...
I use Dreamweaver as my editor of choice for web development, and often find old projects have a few Perl files.
For some reson the Dreamweaver find and replace dialog does not seem to recognise these Perl files e.g. .pl or .cgi as searchable files, so when I use the "find in folder" on a folder I know contains only Perl files it retur...
Is there any way to automatically select a specific scope on Sharepoint advanced search interface without having to select the search box via Javascript?
I found this hint, but I couldn't find the XML file he's talking about anywhere.
...