Use this tag for questions about search algorithms, tools, and technologies.
0
votes
0answers
6 views
What is the best data structure for “saved search” feature with daily email notifications?
The feature works the following way:
Website has users and users can have any number of their searches
saved (e.g. Jobs in NY, PHP jobs, etc). There are a lot of parameters
involved so this is ...
0
votes
0answers
11 views
Linux Command Line Searching Two Columns in a document
I am pretty new to command line work and have a basic grasp of regex and minimal knowledge of awk and currently trying to retrieve two pieces of information from a data file which contains optional ...
0
votes
0answers
30 views
Find string using a bisectional search in linked list
I have a Find function that searches a linked list of strings sequentially. This Find functions finds the string and returns it. I also have a remove function that uses this Find function and removes ...
0
votes
0answers
8 views
Made changes to robots.txt but search engines still say description not available
Most of the questions I see are trying to hide the site from being indexed by search engines. For myself, I'm attempting the opposite.
For the robots.txt file, I've put the following:
# robots.txt
...
1
vote
2answers
25 views
Paring an index down to “interesting” words for future search terms
I have a list of about 18,000 unique words scraped from a database of government transcripts that I would like to make searchable in a web app. The catch: This web app must be client-side. (AJAX is ...
9
votes
3answers
178 views
Search a string as you type the character
I have contacts stored in my mobile. Lets say my contacts are
Ram
Hello
Hi
Feat
Eat
At
When I type letter 'A' I should get all the matching contacts say "Ram, Feat, Eat, At".
Now I type one ...
1
vote
1answer
12 views
Zend Lucene : index database data or not?
I'll try indexing and Zend Lucene Search for the first time and I'm wondering if datas from the database should be indexed or not, considering performance. If so when (in which case) ?
My first goal ...
0
votes
1answer
9 views
Facebook Search API, keyword search does not display posts made in a page but only in a profile
I am using the facebook search API to find posts that include my keyword. I noticed that the posts returned always belong to facebook profiles but never facebook pages. To back that up, I searched for ...
0
votes
1answer
19 views
How to add the search value in url
Can someone help me insert the text user enters into the search form into the url?
For example:
if user searches "the walking deads"
it would look like this:
...
0
votes
0answers
17 views
How to implement a good search box
I want to implement a search box and I need some help. I know using ajax request we can get the results say, I have entered some name john, send this data using $.post and get the result in xml form ...
0
votes
3answers
20 views
Firefox not showing results of my php code
So I have problem with firefox not showing results of search form for query i enter, but code is working normally in Opera,Chrome,IE and Android default browser.
This is the search form :
<div ...
0
votes
0answers
4 views
Documents from library's top-level displayed with lisitem icons in SharePoint search
So I have a SharePoint 2010 search, and a scope for document search. In the results, I want to see document icon dependent on it's type, like or . And I have a document library, from which results ...
0
votes
1answer
18 views
django Search inside files
I am building a file hosting application. I want to build a search form which can search inside static files (Something like grep). I have been through haystack but it didn't search inside static ...
0
votes
0answers
27 views
Search by properties of two Entities (fetch from two Entities)
Let's say I have two entities, A and B. My goal is to implement the search by all properties of A and just one property of B, and to display search results in one tableView. Naturally I can set ...
0
votes
0answers
7 views
How does google search finds important links on a website
I wanted to know that sometimes when I search for something on google it shows some results(website links), but it also shows some important links on that website.
I wanted to know that is it a ...
-2
votes
0answers
19 views
Image search based on tags [on hold]
I gonna build a small image search engine based on it tags. Could TF-IDF in textural document ranking be used? Or is there any good algorithm for ranking based on tag?
0
votes
0answers
7 views
Unable to search in SharePoint 2010 Foundation
I am hosting a SharePoint 2010 Foundation, inside it has a few simple document libraries. Whenever I try to search any documents by typing the keyword on the search box on the upper-right corner, it ...
0
votes
0answers
8 views
Hibernate Search - periodic reindexing
I'm trying to integrated Hibernate Search to a website.
I want Hibernate Search to have a freshest index even when the DB is altered externally, e.g. by MySQL CLI.
So I came across this idea, to ...
1
vote
1answer
20 views
Aggregating data sets in PHP for maximum performance
We have a high transaction PHP site which performs well overall, however the weak link is slow search results. The reason being we aggregate data from numerous sources. For example:
User hits ...
0
votes
2answers
7 views
elastic search prefix query for multiple words to solve the autocomplete use case
How do I get elastic search to work to solve a simple autocomplete use case that has multiple words?
Lets say I have a document with the following title - Elastic search is a great search tool built ...
0
votes
0answers
18 views
convert cURL call into java urlconnection call
I have curl command:
curl -X POST -T dataToUpload.xml -H \"Content-Type:application/xml\" --url...
And I want to create HTTP Request in Java API which will do the same thing.
4
votes
3answers
85 views
What is the optimal way to search for value density in a given matrix?
Suppose I have an n:n matrix with short - only positive - values in it like this:
0 1 0 3
1 0 5 6
7 1 0 4
6 2 7 9
I'm searching for an m:m matrix within this one which contains the most values ...
-1
votes
0answers
14 views
Bing search html [on hold]
Simply want a Bing search like: http://puu.sh/3EkWL.png that is functional. This is the best code I can muster.
<body>
<form name="search_cat_bar" method="get" ...
0
votes
0answers
7 views
Good search box with product drop down filtering
I am thinking about changing over my current search facility to list out all the products on my website and then filter them based on what's typed in, so only showing the user products that exist ...
0
votes
1answer
5 views
Web image search API that allows to filter by license
I'm trying to use an image search API to get images to use on my site, however I need to be able to filter by license, so that I can actually use the images! My first thought was "hey, I'll use ...
0
votes
1answer
24 views
Powershell search and replace
I have about 500 filenames in a .txt file without the extensions. I have another .txt file with full filenames with extentions that total over 1,000.
I need to loop through the smaller .txt file and ...
0
votes
0answers
23 views
Append parent in results of recursive javascript function
How am i able to get the parent(s) in the (reverse) tree in the results.
var json = ...
0
votes
0answers
15 views
Building webcrawler with Jsoup - How to handle?
I'm building one webcrawler in java, based on Jsoup library and now I'm thinking about what to do exactly in the application. I want to hear the opinion from other programmers about how should I ...
0
votes
0answers
13 views
How deal with big gzipped dumps in PHP (without grep)?
I have a big GZ file ("Turtle RDF" file) (about ~15Gb compressed, ~88 uncompressed), and I need to know if there is a solution with PHP to find the lines whoes contains specific string.
I found this ...
0
votes
1answer
34 views
Algorithm to calculate point at which to round values in an array up or down in order to least affect the mean
Consider array random array of values between 0 and 1 such as:
[0.1,0.2,0.8,0.9]
is there a way to calculate the point at which the values should be rounded down or up to an integer in order to ...
-1
votes
4answers
27 views
MySQL return list of ids matching multiple rows
I've got following table schema and values:
What i want to achieve is to get the list of the provider ids (id_provider) which match multiple criterias, for example:
I want to search by ...
-2
votes
2answers
31 views
Search form with PDO
The below code now works but how can I make it so if no results are found it echos a message instead of blank.
I think I've managed to create a search query for my database. Its only a very basic ...
0
votes
3answers
65 views
Binary Search keeps returning -1?
This method is supposed to pass an array of objects:
Movie[] movieList = new Movie[6];
movieList[0] = new Drama("Titanic","James Cameron", 1997, 200.0, 80.0, 7.50);
movieList[1] = new ...
0
votes
0answers
18 views
Magento List products within a price range
I'm looking to add a few 'quick links' to my store's front page, eg. "Under £10", "Under £20", etc.
Is there any easy way I can do this?
If it's going to involve code, then can anyone give me a few ...
0
votes
0answers
11 views
How to upgrade to Twitter REST API v1.1 in search for Reader case
I used to use the following url in Google reader to track particular words activity on twitter in my reader.
http://search.twitter.com/search.atom?q=WORDHERE
But 1) Google decided to close its reader ...
1
vote
1answer
9 views
get matched result with used keyword in mysql like query
I am doing LIKE search using OR condition with multiple keywords. I am wondering is that possible to get the search result and used keywords for that result.
SELECT * FROM `LOCATIONS` WHERE ...
0
votes
0answers
28 views
SQL EXISTS in Search Query - Postgres
I have a complex query where I'm passing a variety of different values into using the EXISTS subquery expression to generate search results . i.e.
// This is Postgres 9.2 btw
// First Schema
CREATE ...
0
votes
0answers
7 views
search if array contains specific text and return all the array index of the text
i have this html:(http://i.stack.imgur.com/hraaS.png)
i need the href that have mission=1, im using this code to break all the var into array, and make more easy to search throught it, but i dont ...
0
votes
6answers
38 views
Out of range in searching function?
public static int PlanetToIndex(string planetToSearch, List<Planet> pl)
{
for (int i = 0; i < pl.Capacity; i++) // out of range...
if ...
0
votes
2answers
63 views
How to speed up search in a huge dictionary
I have a very huge dictionary and the content inside it looks like:
(headers not included in the dictionary)
(code) (names)
------------------------------
910235487 Diabetes, tumors, sugar ...
-1
votes
0answers
22 views
Understanding use case for a nosql DB [on hold]
Googling gives me a bunch of information and SO links as well. All good information but they all talk at a high level only talking about the general problem that could make use of a NoSQL DB as ...
0
votes
0answers
6 views
Mysqli Search and Replace all instances of a string in a field
What I am trying to do is make a query that takes EVERY time a specific string appears within a field and replace each instance with another string. This seems like a basic task that a lot of people ...
0
votes
0answers
8 views
Magento - quick search not working
I know this topic has been discussed before, although I am not sure what the real issue is. In short, the quick search does not return some results, whereas the advanced search is working fine. I ...
0
votes
0answers
13 views
Invision powerboard index page link being indexed as multiple pages
We recently purchased a link from a forum that uses Invision Powerboard as a CMS. The link is intended to only be on the index page, yet google has indexed hundreds of additional links in locations ...
0
votes
0answers
9 views
whoosh pagewise search index for OCRed pdfs
I have lots of PDFs, which are partly already searchable (OCR proceeded), whereas for others I plan to apply tesseract. Right now I started to prototype a web interface to access all pdfs. The current ...
-3
votes
0answers
14 views
Best command line tool for finding a text and replace it with a “procedural” string on Windows? [on hold]
I need a tool to search a string or regular expression and replace it with a procedural random string bassed on a regular expression too. I have found some good tools to search for a regular ...
1
vote
0answers
18 views
reverse phrase search in zend lucene
Basically I have two tables Location and city, The city has city_name and country_code. location_name field from location table has locations. I want to find the location country.
My table structure.
...
2
votes
1answer
49 views
Searching an SQL Server database with Substring
I have a query that extracts only two columns and trims one of the columns to only the media name. This is the query for that:
Select
[Object],
CASE WHEN MsgID = '61' THEN ...
0
votes
1answer
16 views
4 rows per column in Magento Search Results
im having troubles making my search results have 4 products across. I am on Magento version 1.5. I have tried modifying my catalog.xml and catalogsearch.xml using this solution:
<action ...
0
votes
1answer
17 views
Lucene Basic Search Phrase Not weighted by complete sentance first
Been trying to get Lucene search to work for a simple example.
The user will be able to search with multiple words and I want to bring back some results where it has been weighted so that if the ...