Hello,

I want to search in a nutch index in the field "content"; but I get no results.

I modified the index-basic plugin to boost content field and to store
it; but searching still doesn't return hits.

Here is the code I use to search:

                NutchBean bean = new NutchBean(conf,index);
                Query query = Query.parse("content:orde", conf);
                Hits hits = bean.search(query, 10000);

It doesn't return any hit; searching the same with Luke returns 4
documents with boosts 1, 0.54, 0.54, 0.43.

I am pretty sure that in my code "conf" and "index" are the right
values since searching in another field returns the same results as
Luke.

I searched over nutch-default to see any property that could help but
i found nothing; I suppose I am missing something but i cannot figure
what I am missing.

Thank you for reading!

Reply via email to