lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel Barry <jmb...@gmail.com>
Subject Re: questions on PerFieldSimilarityWrapper
Date Thu, 08 Nov 2012 17:46:01 GMT
> coord() and queryNorm() work on the query as a whole, which may span
> multiple fields.

Thanks for the response, but I'm still confused.  In our use case, our
documents have two distinct types of fields, e.g.

Document:
  A-field1
  A-field2
  A-field3
  B-field1
  B-field2
  B-field3

In our application, we know that queries will hit only A-fields or
B-fields, never both in the same query.  But we *do* want to have
different behavior for queryNorm() and coord() for the A and B
queries.

Could you suggest a way to do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message