thanks! , it worked.
Can i mention
 <defaultSearchField>url,content</
defaultSearchField>
to inlcude two default fields.?
On Wed, May 11, 2011 at 3:02 AM, Rakudten [via Lucene] <
ml-node+2924686-576776982-146...@n3.nabble.com> wrote:

> Hello.
>
> One option is to specify a default search field in your schema.xml. If your
>
> query doesn´t include an specific field the query parser will use the
> default one to launch the query. You should include in your schema.xml
> something like this:
>
>
>     <!-- field for the QueryParser to use when an explicit fieldname is
> absent -->
>
>  <defaultSearchField>url</defaultSearchField>
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/search-by-url-in-Solr-tp2924632p2924686.html
>  To unsubscribe from search by url in Solr?, click 
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2924632&code=YW51cmFnLml0LmpvbGx5QGdtYWlsLmNvbXwyOTI0NjMyfC0yMDk4MzQ0MTk2>.
>
>



-- 
Kumar Anurag


-----
Kumar Anurag

--
View this message in context: 
http://lucene.472066.n3.nabble.com/search-by-url-in-Solr-tp2924632p2926107.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to