Is the relevant part contained in a single smaller field or are you
saying you want to extract the relevant part from the larger overall
document?
In the former case, the "fl" parameter (http://wiki.apache.org/solr/CommonQueryParameters#head-db2785986af2355759faaaca53dc8fd0b012d1ab
) allows you to retrieve certain fields, but not others.
In the latter case, you will likely need to use the highlighter to
generate snippets, but even that is going to be problematic, as
highlighting that large of a piece is likely to be slow.
-Grant
On Dec 24, 2008, at 1:51 AM, Sajith Vimukthi wrote:
Hi all,
I am writing an application which uses solrj to perform the search
function.
I basically have a huge set of pdfs doc etc and these are indexed. I
have
almost finished the application. But still I have some problems.
When I
search for a parameter I get the whole indexed document which is
submitted
into the solr server is given back. Some of these have more than
1000 pages.
Now I want to extract only the relavant part in the document. The
content of
the documented indexed under the field 'features'. Can someone help
me out?
Regads,
Sajith Vimukthi Weerakoon
Associate Software Engineer | ZONE24X7
| Tel: +94 71 6102392| Fax: +94 11 2878261 |
http://www.zone24x7.com
--------------------------
Grant Ingersoll
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ