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
Original issue reported on code.google.com by
HugoHAVi...@gmail.com
on 5 Jan 2015 at 12:01