Building queries for SolR

2011-02-17 Thread Vincent Cautaerts
Hi, I'm porting/upgrading a project from Lucene to Solr. In Lucene, I was using the user-provided Lucene query string, and I did complete it to implement access restriction, based on fields saved in the index: Query userQ=... // query from user Query restrictQ=.. // implement restrictions Query

Multi-valued poly fields & search

2010-12-02 Thread Vincent Cautaerts
Hi, (should this be on solr-dev mailing list?) I have this kind of data, about articles in newspapers: article A-001 . published on 2010-10-31, in newspaper "N-1", edition "E1" . published on 2010-10-30, in newspaper "N-2", edition "E2" article A-002 . published on 2010-10-30, in newspaper "N