You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by n_developer <sp...@yahoo.co.in> on 2009/03/04 12:33:30 UTC
Query the user defined field
I have created a user defined field which is indexed.
now i want the search the search to be performed only on this defined field
and not on any other fields( like the content , anchor and so on.. )
can anyone help me with this
--
View this message in context: http://www.nabble.com/Query-the-user-defined-field-tp22328239p22328239.html
Sent from the Nutch - User mailing list archive at Nabble.com.
Re: Query the user defined field
Posted by n_developer <sp...@yahoo.co.in>.
where do i change the code for this?
and in case i want wildcard search den what can be done? i knw that we can
do it using lucene. but where is the code for wild card search? so that i
can make changes.
Jasper Kamperman wrote:
>
> Assuming your field is called "myfield" then search like:
>
> myfield:"my search string"
>
> Thanks,
>
> Jasper
>
> On Mar 4, 2009, at 3:33 AM, n_developer wrote:
>
>>
>> I have created a user defined field which is indexed.
>> now i want the search the search to be performed only on this
>> defined field
>> and not on any other fields( like the content , anchor and so on.. )
>> can anyone help me with this
>> --
>> View this message in context:
>> http://www.nabble.com/Query-the-user-defined-field-tp22328239p22328239.html
>> Sent from the Nutch - User mailing list archive at Nabble.com.
>>
>>
>
>
>
--
View this message in context: http://www.nabble.com/Query-the-user-defined-field-tp22328239p22408003.html
Sent from the Nutch - User mailing list archive at Nabble.com.
Re: Query the user defined field
Posted by Jasper Kamperman <ja...@openwaternet.com>.
Assuming your field is called "myfield" then search like:
myfield:"my search string"
Thanks,
Jasper
On Mar 4, 2009, at 3:33 AM, n_developer wrote:
>
> I have created a user defined field which is indexed.
> now i want the search the search to be performed only on this
> defined field
> and not on any other fields( like the content , anchor and so on.. )
> can anyone help me with this
> --
> View this message in context: http://www.nabble.com/Query-the-user-defined-field-tp22328239p22328239.html
> Sent from the Nutch - User mailing list archive at Nabble.com.
>
>