Hi,
   I am trying to search on custom field which I have already added using 
custom plugins. There were some discussions on this topic earlier and as per 
that I added  a new QueryFilter, called Availability and following is the 
plugin.xml structure

<extension id="org.apache.nutch.searcher.classitrend.query.Availability"
              name="Nutch Availability Query Filter"
              point="org.apache.nutch.searcher.QueryFilter">
      <implementation id="availability"
                      
class="org.apache.nutch.searcher.classitrend.query.Availability">
        <parameter name="fields" value="availability"/>
      </implementation>
      
   </extension>

But still when I am searching using range query like availability:{0 TO 10000}, 
it return nothing.
I debugged the code and found that the actual query generated does not use 
"availability" as a field rather it used availability as a value for all 
default fields.
I am struggling to solve this from one day. Appreciate your help on this.

regards,
RB



      

Reply via email to