Calculating min, max and sum of a field in docs returned by search [SEC=UNOFFICIAL]

2013-10-13 Thread Stephen GRAY
UNOFFICIAL Hi everyone, I'd appreciate some help with a problem I'm having. I have a collection of documents in my index. Each doc contains an IntField with a value in it. What I want is to find out the minimum, maximum and sum of this field for all documents returned by a search. I was thinki

Re: external file stored field codec

2013-10-13 Thread Michael Sokolov
On 10/13/2013 1:52 PM, Adrien Grand wrote: Hi Michael, I'm not aware enough of operating system internals to know what exactly happens when a file is open but it sounds to be like having separate files per document or field adds levels of indirection when loading stored fields, so I would be sur

RE: Multiple Keywords - Regular and Any Order Search

2013-10-13 Thread raghavendra.k.rao
Hi, I found a solution to my earlier question. If I provide search strings in lowercase characters, then it works fine. For eg. if I submit N(abc,corp) instead of N(ABC,CORP) as my search string then it works fine! Although my index strings are all in upper case letters. Got the hint from this

Re: external file stored field codec

2013-10-13 Thread Adrien Grand
Hi Michael, I'm not aware enough of operating system internals to know what exactly happens when a file is open but it sounds to be like having separate files per document or field adds levels of indirection when loading stored fields, so I would be surprised it it actually proved to be more effic