Issue Details (XML | Word | Printable)

Key: NUTCH-44
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Dennis Kubes
Reporter: Emilijan Mirceski
Votes: 4
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Nutch

too many search results

Created: 18/Apr/05 06:38 AM   Updated: 19/Feb/08 04:44 PM
Return to search
Component/s: web gui
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works NUTCH-44-2-20080215.patch 2008-02-16 12:27 AM Dennis Kubes 3 kB
Text File Licensed for inclusion in ASF works NUTCH-44.patch 2007-09-08 11:24 AM Susam Pal 3 kB
Environment: web environment

Resolution Date: 18/Feb/08 06:39 AM


 Description  « Hide
There should be a limitation (user defined) on the number of results the search engine can return.

For example, if one modifies the seach url as:
http://<my>/search.jsp?query=<some quiery>&hitsPerPage=20000&hitsPerSite=0

The search will try to return 20,000 pages which isn't good for the server side performance.

Is it possible to have a setting in the config xml files to control this?

Thanks,
Emilijan



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #628631 Mon Feb 18 06:38:46 UTC 2008 kubes NUTCH-44 - Too many search results. Configurable limit on max number of search results returned. Thanks Emilijan Mirceski and Susam Pal.
Files Changed
MODIFY /lucene/nutch/trunk/src/java/org/apache/nutch/searcher/OpenSearchServlet.java
MODIFY /lucene/nutch/trunk/src/web/jsp/search.jsp
MODIFY /lucene/nutch/trunk/conf/nutch-default.xml
MODIFY /lucene/nutch/trunk/CHANGES.txt