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 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 and 
>>> making sure the fields are there (and not lazily loaded) is important.  Of 
>>> course, it doesn't help if you want to use Term Vectors w/ highlighter
>>>
>>>>
>>>> We should either remove this altogether
>>>
>>> -1.
>>>
>>>
>>>> or have a standard way for all
>>>> components to take part in this.
>>>
>>> Perhaps a component could register what fields it needs?  However, do you 
>>> have a use case in mind?  What component would you like to have leverage 
>>> this?
>>
>> I don't know. But the point is can we have a an interface
>> PrefetchAware (or anything nicer) and components can choose to return
>> the list of fields which it is interested in prefetching. I would like
>> to remove the Strong coupling of QueryComponent on highlighting.
>>
>
> Sounds reasonable to me.



-- 
-----------------------------------------------------
Noble Paul | Systems Architect| AOL | http://aol.com

Reply via email to