I am building an application over the Windows Indexing Service. The application is (among other things) used to search in text files containing IP addresses and textual data.
When using the built-in "Indexing Service Query Form" in order to test the search capabilities, to search IP addresses, it returns non-relevant result. As far as I...
I will be starting a simple datastore-and-search project soon. Basically, one of those "put my huge Excel spreadsheet into a database, build a web GUI for it, and make it searchable" type-things.
One thing that's been bugging me is the actual search logic that will be used when the user enters some criteria. I am imagining a search inte...
I have a site which is searchable using Lucene. I've noticed from logs that users sometimes don't find what they're looking for because they enter a singular term, but only the plural version of that term is used on the site. I would like the search to find uses of other forms of a word as well. This is a problem that I'm sure has bee...
Yesterday, I asked this question regarding best practices for a simple information retrieval system I am beginning to work on.
Today, my customer asked me if it is possible to allow them to add fields to the primary entity at a later date using the administration interface. That is, the application allows you to search across one databa...
What's the important part of search technology?
Distributed file system
Cloud computing
Storage system
Ranking algorithms
Search algorithms
Or something else?
...
Let's say I have a Java ArrayList, that is sorted. Now I would like to find the index of value x. What would be the fastest (without more than 30 lines of code) way to do this? Use of the IndexOf() method? Iterate through all values in a simple for loop? Use of some cool algorithm? We are talking about around let's say 50 integer keys.
...
Is there any way to implement binary search in a ArrayList with objects? In this example the ArrayList will be sorted with the field 'id'.
class User{
public int id;
public string name;
}
ArrayList<User> users = new ArrayList<User>();
sortById(users);
int id = 66
User searchuser = getUserById(users,id);
How would the "User getUse...
I am currently working on building a proof of concept search solution for my company using Lucene and Hibernate Search. I have built individual components which work fine. I am now looking at creating a single API that would allow a user to get search results back from different sources (domain + data). What I would like to achieve is so...
So I've been working on a crawler script to index all the pages on the my site using Zend Lucene search. I've been able to get the script to work but for some reason will not find the other links on the pages. The problem seems to be when the script hits the find method:
$hits = $index->find('url:'.$targets[$i]);
When I execute the sc...
On my drupal search results page link directly to the comments of the post, in addition to just the post itself. Looking at the search.module file the relevant code seems to be.
$output = ' <dt class="title"><a href="'. check_url($item['link']) .'">'. check_plain($item['title']) .'</a></dt>';
The issue is I can't figure out where on ...
I installed apache solr on drupal 5, now when I perform a search using Admin I get results but I do not get any from Drupal.
...
I am very new to C++ programming and you will see why.
I want to make a character array consisting of a few words that I want to search with a linear search function. Does this array have to be a two-dimensional array? For example:
char Colors[3][6] = {"red", "green", "blue"};
I tried it like this:
char Colors[] = {"red", "green", "...
Here is a very and straight forward question:
How long will it take to search an array of 200-300 strings locally? What about remotely?
...
Hi, assuming that I know the PID of a process and want to do a search in ps -A, how do I do it? I tried doing this:
echo "Enter PID to search: "
read PID
search=$(ps -A | grep -v PID | awk '{print $1}')
This returns me with a long list of PIDs. So how can I get use each individual value of the output and do:
if [ "$PID" = "*each_val...
Which algorithm would you use to search short substrings in short texts? By short I mean 5-10 characters for substring and 255 for the string. I'm thinking about choosing algorithm depending on input data length. Which algorithm is better for longer inputs?
...
I want to have a similar tool in Emacs as the following in Vim
:g/search/
to get a list of matches.
How can you get a list of matches in Emacs?
...
Hi.
I'm building a site where products are hold in a content type created with CCK. Products can be associated with multiple taxonomy vocabularities. Now I need an advanced product search which user could use to search by many search arguments (taxonomy terms, CCK field values). I have done quite a lot googling but I haven't been able t...
Is there anyway to get a regex pattern to automatically stop searching after one match. I'd like to add regex searching to a web service I'm trying to create, but I don't want someone to be able to run a regex that would take a long time, just one match is good enough. Is this possible?
...
Hi all,I have a search algorithm that tries to resolve the location of a directory on a local drive. The directory obviously will need to access other directories present on the system if it is searching for a sub directory of one of those. However in doing this I keep getting the UnauthorizedAccessException. I would like to provide the...
Hi
I have a gridview that gets its data from a webservice.
This comes into the application in a dataset.
Me.GvStreets.DataSource = TheWebServiceSearch.AddressDataTable
Me.GvStreets.DataBind()
Once in the grid view how do I search the contents of this dataset.
Do I have to add it to some sort of datasource control like...