Re: lucene query complexity

2015-11-20 Thread Adrien Grand
I don't think the big-O notation is appropriate to measure the cost of Lucene queries. Le mer. 11 nov. 2015 à 20:31, search engine a écrit : > Hi, > > I've been thinking how to use big O annotation to show complexity for > different types of queries, like term query,

Re: lucene query complexity

2015-11-20 Thread search engine
What if we have some assumptions. For example, we assume that we have only one segment and the entire segment is in memory ? thanks, Zong On Fri, Nov 20, 2015 at 4:38 AM, Adrien Grand wrote: > I don't think the big-O notation is appropriate to measure the cost of > Lucene

Re: lucene query complexity

2015-11-20 Thread Jack Krupansky
Sigh. Yeah, I agree that a simple big-O won't work for Lucene. But nonetheless, we really should have some sort of performance characterization. When people ask me about how to characterize Lucene/Solr performance I always tell them that it is highly non-linear, with lots of optimizations and

lucene query complexity

2015-11-11 Thread search engine
Hi, I've been thinking how to use big O annotation to show complexity for different types of queries, like term query, prefix query, phrase query, wild card and fuzzy query. Any ideas? thanks, Zong