Case insensitive StringField?

2013-05-21 Thread Shahak Nagiel
It appears that StringField instances are treated as literals, even though my analyzer lower-cases (on both write and read sides).  So, for example, I can match with a term query (e.g. "NEW YORK"), but only if the case matches.  If I use a QueryParser (or MultiFieldQueryParser), it never works b

Re: Case insensitive StringField?

2013-05-21 Thread Shahak Nagiel
pace and normalize interior white space. -- Jack Krupansky -Original Message- From: Shahak Nagiel Sent: Tuesday, May 21, 2013 10:06 AM To: java-user@lucene.apache.org Subject: Case insensitive StringField? It appears that StringField instances are treated as literals, even though my

QueryParser.Operator with BooleanQuery

2013-11-18 Thread Shahak Nagiel
Initially, I queried our (v4.4) index with a single MultiFieldQueryParser and  Operator.AND to ensure that all search terms appeared in the results. Since then, however, we've needed to query more flexibly, using a BooleanQuery to merge several subqueries (in order to apply different analyzers to

Lucene spatial for grid clusters

2014-11-05 Thread Shahak Nagiel
I need a way to perform a spatial aggregation query against a potentially large document store in order to display summary clusters on a map. The query would slice the current map extents (e.g. -180,-90,180,90) into a number of X and Y bins (e.g. 20 x 16) and, for each, seek a summary count, so

Re: Lucene spatial for grid clusters

2014-11-06 Thread Shahak Nagiel
ne/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Wed, Nov 5, 2014 at 10:52 PM, Shahak Nagiel wrote: I need a way to perform a spatial aggregation query against a potentially large document store in order to display summary clusters on a map. The query would slice t

Re: How to construct a ConstantScoreQuery with FixedBitSet

2018-04-23 Thread Shahak Nagiel
UNSUBSCRIBE On Monday, April 23, 2018, 9:59:24 AM EDT, Adrien Grand wrote: Creating a ConstantScoreQuery from a FixedBitSet feels wrong since queries are supposed to be independent from an index, while the FixedBitSet needs to depend on a particular index (eg. I assume that the length o