In general, for consistent behavior, analyzer used for indexing and querying 
should be the same.

In the example, keyword analyzer is used during indexing and standardanalyzer 
is used for querying.

Second issue (or typo) in example...booleanquery.add should specify subquery.

-----Original Message-----
From: Егор Попов [mailto:[email protected]] 
Sent: Monday, November 16, 2015 9:37 AM
To: [email protected]
Subject: Filter query on two fields doesn't work

Hello everyone! We have a problem with Lucene.net and are asking for a help.
Here is description of our problem - 
http://issues.apache.org/jira/browse/LUCENENET-556.

Best Regards

Reply via email to