On Thu, Jan 31, 2013 at 9:55 PM, Michael McCandless <luc...@mikemccandless.com> wrote:
> But are you wanting to, eg, make a NumericRangeQuery if you detect the > field was indexed numerically, and otherwise a TermRangeQuery, or > something...? (Not easy) This is what I want, yes. But I begin to understand that this is not possible without storing additional meta-data as neither the index nor the documents preserve the type info (correct me if I'm wrong). On the other hand, since once a field (name) has been typified (by auto-detection or a configuration file), in my case the field will maintain its type across documents and can thus be an index property. And since auto-detection is not very robust, I think I'll end needing a schema or type definition after all (field name to type mapping), which is not difficult to implement (or use Solr, I guess). Kind regards, Rolf --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org