Re: Question about Payloads in Lucene 4.5

2014-03-22 Thread Michael McCandless
On Sat, Mar 22, 2014 at 5:18 AM, Rohit Banga wrote: > Awesome BinaryDocValues sounds nice! > I saw that NumericDocValues did not inherit from a base class hence I > thought there is no StringDocValues :). > > Can I expect that a searcher manager will invoke > searcherfactory.newSearcher at most o

Re: Question about Payloads in Lucene 4.5

2014-03-22 Thread Rohit Banga
Awesome BinaryDocValues sounds nice! I saw that NumericDocValues did not inherit from a base class hence I thought there is no StringDocValues :). Can I expect that a searcher manager will invoke searcherfactory.newSearcher at most once between searcher manager refreshes? I believe IndexSearcher i

Re: Question about Payloads in Lucene 4.5

2014-03-22 Thread Michael McCandless
On Fri, Mar 21, 2014 at 10:25 PM, Rohit Banga wrote: > Thanks Michael for your response. You're welcome! > Few questions: > > 1. Can I expect better performance when retrieving a single NumericDocValue > for all hits vs when I retrieve documents for all hits to fetch the field > value? As far as