Urgent Help. Best Way to have multiple OR Conditions for same field in SOLR

2014-02-11 Thread rajeev.nadgauda
HI,

I am new to SOLR , we have CRM data for Contacts and Companies which are in
millions, we have switched to SOLR for fast search results.

PROBLEM: We have large inclusion and exclusion lists with names of companies
or contacts.
Ex: Include or Exclude : "company A" & "Company B" & "Company C"  &
"Company n"  where assume  n = 1;

What would be the best way to do this kind of a query using SOLR.

WHAT I HAVE TRIED: 
Setting "q" ==> field_name: ("companyA" OR "companyB" . OR "Company n");
This works only for a list of 400 odd.

Looking forward for assistance on this.

Thank You,
Rajeev.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Urgent-Help-Best-Way-to-have-multiple-OR-Conditions-for-same-field-in-SOLR-tp4116681.html
Sent from the Solr - User mailing list archive at Nabble.com.


APACHE SOLR: Pass a file as query parameter and then parse each line to form a criteria

2014-02-12 Thread rajeev.nadgauda
Hi ,
I am new to solr , i need help with the following

PROBLEM: I have a huge file of 1 lines i want this to be an inclusion or
exclusion in the query . i.e each line like ( line1 or line2 or ..)

How can this be achieved in solr , is there a custom implementation that i
would need to implement. Also will it help to implement a custom filter ?


Thank You,
Rajeev Nadgauda.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/APACHE-SOLR-Pass-a-file-as-query-parameter-and-then-parse-each-line-to-form-a-criteria-tp4117066.html
Sent from the Solr - User mailing list archive at Nabble.com.