what do you mean by patch facets.vm ?  Do you mean I replace the old file
with the .vm.patch file ?

 I am a novice , hope that you can explain a little bit more.

Thanks,

On Mon, Jul 25, 2011 at 11:08 PM, Geek Gamer <[email protected]> wrote:

> seems you have not patched facets.vm,
> you need to remove facet_ranges and facet queries from the file
>
>
> On Tue, Jul 26, 2011 at 5:19 AM, Cheng Li <[email protected]> wrote:
> > I follow the instruction at
> >
> https://issues.apache.org/jira/browse/NUTCH-1034?focusedCommentId=13070696#comment-13070696
> >
> >
> >  but in the output message , there are errors  , and I get no result from
> > the query
> >
> >
> >   SEVERE: Exception during facet.range of
> > manufacturedate_dt:org.apache.solr.common.SolrException: undefined field
> > manufacturedate_dt
> >    at org.apache.solr.schema.IndexSchema.getField(IndexSchema.java:1185)
> >    at
> >
> org.apache.solr.request.SimpleFacets.getFacetRangeCounts(SimpleFacets.java:797)
> >    at
> >
> org.apache.solr.request.SimpleFacets.getFacetRangeCounts(SimpleFacets.java:778)
> >    at
> >
> org.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:178)
> >    at
> >
> org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:72)
> >    at
> >
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
> >    at
> >
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
> >    at org.apache.solr.core.SolrCore.execute(SolrCore.java:1368)
> >    at
> >
> org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
> >    at
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
> >    at
> >
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
> >    at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
> >    at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >    at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> >    at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> >    at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
> >    at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
> >    at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >    at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> >    at org.mortbay.jetty.Server.handle(Server.java:326)
> >    at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> >    at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
> >    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> >    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> >    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> >    at
> >
> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
> >    at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
> >
> >
> >  any idea to solve this problem?
> >
> > Thanks,
> >
> >
> > On Mon, Jul 25, 2011 at 1:06 PM, Geek Gamer <[email protected]> wrote:
> >
> >>
> >>
> https://issues.apache.org/jira/browse/NUTCH-1034?focusedCommentId=13070696#comment-13070696
> >>
> >> On Tue, Jul 26, 2011 at 1:13 AM, Cheng Li <[email protected]> wrote:
> >> > can you show the example to me?
> >> >
> >> > thanks,
> >> >
> >> > On Mon, Jul 25, 2011 at 10:27 AM, Geek Gamer <[email protected]>
> wrote:
> >> >
> >> >> I have done some changes to velocity templates for displaying the
> >> >> nutch results, tested with nutch schema, i can provide them.
> >> >>
> >> >>
> >> >> On Mon, Jul 25, 2011 at 10:38 PM, Markus Jelsma
> >> >> <[email protected]> wrote:
> >> >> > There are three open issue on this:
> >> >> > 1. integrate Solr
> >> >> > 2. create custom solrconfig for Nutch (dismax fields, highlighting
> >> etc)
> >> >> > 3. customize Solr's velocity templates for Nutch
> >> >> >
> >> >> > Would be great if some patches come in ;)
> >> >> >
> >> >> >> If you guys need, probably I can make a war file for you guys just
> to
> >> >> >> display nutch fields (title, url, etc) with some changes on Solr
> >> browse.
> >> >> >>
> >> >> >> On Mon, Jul 25, 2011 at 12:03 AM, Cheng Li <[email protected]>
> wrote:
> >> >> >> > Do you mean this post ?
> >> >> >> >
> http://www.mail-archive.com/user%40nutch.apache.org/msg03450.html
> >> >> >> >
> >> >> >> > On Sun, Jul 24, 2011 at 10:26 PM, Geek Gamer <
> [email protected]>
> >> >> wrote:
> >> >> >> > > You have to deploy the solr.war from solr. Any customizations
> to
> >> the
> >> >> >> > > views you need can be done via modifying the velocity
> templates
> >> in
> >> >> >> > > solr/conf and using the velocity responsewriter.
> >> >> >> > > This is already mentioned in the group earlier.
> >> >> >> > >
> >> >> >> > > On Mon, Jul 25, 2011 at 9:11 AM, Cheng Li <[email protected]>
> >> wrote:
> >> >> >> > > > Hi,
> >> >> >> > > >
> >> >> >> > > >    In nutch 1.3 + solr framework ,  where should I put the
> html
> >> >> and
> >> >> >> > >
> >> >> >> > > related
> >> >> >> > >
> >> >> >> > > > javascript files  to make it install ?
> >> >> >> > > >
> >> >> >> > > >   In nutch 1.2 , I  deploy the nutch 1.2 .war  file in
> >> >> >> > > >
> >> >> >> > > > apache-tomecat/webapp  directory . In nutch 1.3 + solr , how
> >> can I
> >> >> >> >
> >> >> >> > deploy
> >> >> >> >
> >> >> >> > > > the web service?
> >> >> >> > > >
> >> >> >> > > > Thanks,
> >> >> >> > > >
> >> >> >> > > > --
> >> >> >> > > > Cheng Li
> >> >> >> >
> >> >> >> > --
> >> >> >> > Cheng Li
> >> >> >
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Cheng Li
> >> >
> >>
> >
> >
> >
> > --
> > Cheng Li
> >
>



-- 
Cheng Li

Reply via email to