Re: Why do we need SolrPluginUtils#optimizePreFetchDocs()

2010-01-05 Thread Grant Ingersoll
On Jan 5, 2010, at 1:56 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: This looks like a hack. It currently only uses highlighter for prefetching docs and fields . There is no standard way of other components to take part in this. Possibly, but highlighting is one of the more expensive things to do

Re: Why do we need SolrPluginUtils#optimizePreFetchDocs()

2010-01-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Tue, Jan 5, 2010 at 4:52 PM, Grant Ingersoll gsing...@apache.org wrote: On Jan 5, 2010, at 1:56 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: This looks like a hack. It currently only uses highlighter for prefetching docs and fields . There is no standard way of other components to take part in

Re: Why do we need SolrPluginUtils#optimizePreFetchDocs()

2010-01-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
2010/1/5 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: On Tue, Jan 5, 2010 at 4:52 PM, Grant Ingersoll gsing...@apache.org wrote: On Jan 5, 2010, at 1:56 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: This looks like a hack. It currently only uses highlighter for prefetching docs and fields .

Re: Why do we need SolrPluginUtils#optimizePreFetchDocs()

2010-01-05 Thread Grant Ingersoll
On Jan 5, 2010, at 6:52 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: On Tue, Jan 5, 2010 at 4:52 PM, Grant Ingersoll gsing...@apache.org wrote: On Jan 5, 2010, at 1:56 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: This looks like a hack. It currently only uses highlighter for prefetching docs and fields

Re: Why do we need SolrPluginUtils#optimizePreFetchDocs()

2010-01-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
ok I have opened a new issue https://issues.apache.org/jira/browse/SOLR-1702 On Tue, Jan 5, 2010 at 5:50 PM, Grant Ingersoll gsing...@apache.org wrote: On Jan 5, 2010, at 6:52 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: On Tue, Jan 5, 2010 at 4:52 PM, Grant Ingersoll gsing...@apache.org wrote: On

Re: Why do we need SolrPluginUtils#optimizePreFetchDocs()

2010-01-05 Thread Chris Hostetter
: This looks like a hack. It currently only uses highlighter for : prefetching docs and fields . There is no standard way of other : components to take part in this. It was an optimization that improved the common when it was added, but it predates all of the search component stuff, so

Why do we need SolrPluginUtils#optimizePreFetchDocs()

2010-01-04 Thread Noble Paul നോബിള്‍ नोब्ळ्
This looks like a hack. It currently only uses highlighter for prefetching docs and fields . There is no standard way of other components to take part in this. We should either remove this altogether or have a standard way for all components to take part in this. --