You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Cheng Li <ch...@usc.edu> on 2011/07/25 01:32:44 UTC

solr index display

Hi,

      I follow this instruction to run the index by solr .
http://wiki.apache.org/nutch/RunningNutchAndSolr

    at the last step , it is said that   If you want to see the raw HTML
indexed by Solr, change the content field definition in solrconfig.xml to.

   But I found several solrconfig.xml in  apache-solr  directory .  Which
solrconfig.xml should I modify to make the query page look like Nutch 1.2
query page?

Thanks,

-- 
Cheng Li

Re: solr index display

Posted by Way Cool <wa...@gmail.com>.
The file schema.xml should be under ${APACHE_SOLR_HOME}/example/solr/config,
not solrconfig.xml.

The main purpose of the line below is to return content as a part of Solr
response (not required if you don't need to return content):

<field name="content" type="text" *stored="true"* indexed="true"/>



On Mon, Jul 25, 2011 at 7:09 AM, lewis john mcgibbney <
lewis.mcgibbney@gmail.com> wrote:

> Specifically I would mention that you would get a community input if this
> question was directed towards the Solr user list, however I think you are
> looking for the velocity response writer.
>
> Have a search on the Solr wiki you will find info there.
>
> In addition there are various other well established client libraries, I
> previously worked with Ajax Solr.
>
> On Mon, Jul 25, 2011 at 12:32 AM, Cheng Li <ch...@usc.edu> wrote:
>
> > Hi,
> >
> >      I follow this instruction to run the index by solr .
> > http://wiki.apache.org/nutch/RunningNutchAndSolr
> >
> >    at the last step , it is said that   If you want to see the raw HTML
> > indexed by Solr, change the content field definition in solrconfig.xml
> to.
> >
> >   But I found several solrconfig.xml in  apache-solr  directory .  Which
> > solrconfig.xml should I modify to make the query page look like Nutch 1.2
> > query page?
> >
> > Thanks,
> >
> > --
> > Cheng Li
> >
>
>
>
> --
> *Lewis*
>

Re: solr index display

Posted by lewis john mcgibbney <le...@gmail.com>.
Specifically I would mention that you would get a community input if this
question was directed towards the Solr user list, however I think you are
looking for the velocity response writer.

Have a search on the Solr wiki you will find info there.

In addition there are various other well established client libraries, I
previously worked with Ajax Solr.

On Mon, Jul 25, 2011 at 12:32 AM, Cheng Li <ch...@usc.edu> wrote:

> Hi,
>
>      I follow this instruction to run the index by solr .
> http://wiki.apache.org/nutch/RunningNutchAndSolr
>
>    at the last step , it is said that   If you want to see the raw HTML
> indexed by Solr, change the content field definition in solrconfig.xml to.
>
>   But I found several solrconfig.xml in  apache-solr  directory .  Which
> solrconfig.xml should I modify to make the query page look like Nutch 1.2
> query page?
>
> Thanks,
>
> --
> Cheng Li
>



-- 
*Lewis*