Re: SOLR query - restrict access to user documents

2014-10-07 Thread Ahmet Arslan
How about using a fq in appends section of solrconfig.xml? {!term f=customerNumber v=$qq} And your query string will be : /select?q=&qq=123 https://cwiki.apache.org/confluence/display/solr/Local+Parameters+in+Queries Ahmet On Wednesday, October 8, 2014 1:40 AM, Nitin Agarwal <2nitinagar

Re: SOLR query - restrict access to user documents

2014-10-07 Thread Nitin Agarwal
Thanks for the info Jorge, I will look into invariants, good pointer. My API, forces the rows to be a max of 500. If the user specifies more than 500 docs, then we modify the rows param to be 500. On Tue, Oct 7, 2014 at 3:31 PM, Jorge Luis Betancourt Gonzalez < jlbetanco...@uci.cu> wrote: > I se

Re: SOLR query - restrict access to user documents

2014-10-07 Thread Jorge Luis Betancourt Gonzalez
I see you’re defining a default value for “rows” this could be overridden on the request, and requesting a lot of documents from solr can stress out your server/cluster, of course if the client in question has that many documents. if this is a fixed value and the clients can’t request more docum

SOLR query - restrict access to user documents

2014-10-07 Thread Nitin Agarwal
Hi, I have a question around SOLR query, I am trying to restrict access to SOLR data. We are running SOLR 4.7.1, and wish to expose the query capabilities to our customers for the data that belongs to them. Specifically "/select", with default configuration is the only Request Handler that custome