Thank you Christopher, I have found one issue in my code when building a
query, thus I do not know why it is not working.

When I comment this line, I get right result count :

// solrQuery.setParam("fq", "+creation_date:[* TO NOW] +type:QUESTION");

Where creation_date is one Date field and type one String field.

I have tried those 2 lines which also make the query retrieve wrong count
whereas with curl working...:

solrQuery.addFilterQuery("creation_date:[* TO NOW]");
solrQuery.addFilterQuery("type:QUESTION");

When I remove filter on date, it works :

solrQuery.addFilterQuery("type:QUESTION");

any problem with adding 2 filters and one with a date ?

Is there any problem with this syntax for filter query and SolrJ ?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Documents-Indexed-SolrJ-see-nothing-before-long-time-tp3389721p3392473.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to