Can't search in a certain field using solR

Posted by intrance on Stack Overflow See other posts from Stack Overflow or by intrance
Published on 2010-05-27T14:07:59Z Indexed on 2010/05/27 14:11 UTC
Read the original article Hit count: 161

Filed under:
|
|
|

Hi,

I'm setting up an environment using Nutch 1.0 + solR 1.4. In Nutch I configured the subcollection plugin which seems to work nicely. If I search as normal adding fl=* I can see the subcollection field is filled as intented. (something like <str name="subcollection">mysite.com</str>).
My problem is, I would like to be able to search only in one or more given subcollections, but whenever my searchquery is something like q=subcollection:mysite.com it won't work. I've also tried to add a fl=* or searched in mysite* instead but I never get any results. Obviously solR "knows" the subcollection field, as it doesn't result with an error but simply whith an empty result.

I'd be glad for any help

© Stack Overflow or respective owner

Related posts about lucene

Related posts about solr