: Earlier I tried join queries using curl 
: 'http://myLinux:8983/solr/abc.edu_up/select?debug=true&q=*:*&fq={defType=join 
: from=id to=id fromIndex=abc.edu}subject:financial'  but didn't get any 
: response. There was nothing on Solr log either. So, I thought I need to 
: config join. Is there another way to at least get some response from 
: join queries?

When posting questions, it's important to not only show the URLs you 
tried, but also exactly what response you got -- in this case you have 
debuging turned on (good!) but you don't show us what the debugging 
information returend.

from whati can tell, you are missunderstanding how to use localparams 
and the use of "type" vs "defTpe" in local params.  

1) the syntax for local params is "{!p1=v1 p2=v2 ...}" ... note the "!", 
it's important, otherwise the "{...}" is just treated as input to the 
default parser.

2) inside local params, you use the "type" param to indicate which parser 
you want to use (or as a shorthand just specify the parser name 
immediately after the "!"

3) if you use "defType" as a localparam, it controls which parser is used 
for parsing hte *nested* query.

        - - -

So in your example, you should probably be using...

/abc.edu_up/select?debug=true&q=*:*&fq={!type=join ...

...or this syntactic sugar...

/abc.edu_up/select?debug=true&q=*:*&fq={!join ...


If that still isn't working for you, please show us what output you do 
get, and some examples of the same query w/o the join filter (as well as 
showing us what the nested join query produces on it's own so we can 
verify you have docs matching it)

Reply via email to