borowiak / pwa-technologies

Automatically exported from code.google.com/p/pwa-technologies
0 stars 0 forks source link

OpenSearch feature to support querying through wayback #104

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which is the impact of this task on the service ?

This feature will provide ability to search through opensearch, which means 
that if a query like http://tirith.esoterica.pt/~lms/BurgoNews/burgonews.html 
will produce all the urls indexed searching by URL not by terms, as it is done 
by now.

Which are the planed operations to performed this task ?

1.Import the java class NutchwaxQuery.java to OpenSearchServlet.java. This 
class has the hability to produce a string to query by URLs.

Which resources could contribute to perform the task (e.g. Wiki pages,
scripts, contributors)? Provide links when possible.

The follow code is a feasible solution. It has tested and returned the 
desirable result.

String s = "date:19960101000000-20131231235959 
exacturlexpand:http://tirith.esoterica.pt/~lms/BurgoNews/burgonews.html";

queryNutch = NutchwaxQuery.parse(s, this.conf);

String urlQuery = URLEncoder.encode(queryString, "UTF-8");

queryString= queryNutch.toString();

urlQuery= URLEncoder.encode(queryString,"UTF-8");
-
-
-

Please use labels and text to provide additional information.

Original issue reported on code.google.com by HugoHAVi...@gmail.com on 5 Jan 2015 at 12:01

GoogleCodeExporter commented 9 years ago
The problem is already solver and tested with small indexed collection.
Waiting to availability to deploy a new version.

Original comment by HugoHAVi...@gmail.com on 5 Mar 2015 at 2:42