jeffcoughlin / farcrysolrpro

FarCry Solr Pro plugin Supports: Solr 3.5, FarCry 7.0+, 6.2+, 6.1.4+, 6.0.19+
http://jeffcoughlin.github.com/farcrysolrpro
Other
9 stars 8 forks source link

unknown field 'fcsp_documentsize' #32

Closed webonix closed 12 years ago

webonix commented 12 years ago

I am getting this error in my SOLR logs - anyone be able to point me in the right direction?

Railo 3.3.2.003 final on Windows

18/04/2012 9:39:00 AM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: ERROR: [doc=BB26D7E6-09D3-11E1-B3FF005056830000] unknown field 'fcsp_documentsize' at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:331) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60) at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115) at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:158) at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372) 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.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843) 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)

webonix commented 12 years ago

I have pointed the start bat to the JVM within Railo 1.6.0_29 (Sun Microsystems Inc.) 32bit

seancoyne commented 12 years ago

Copy the schema.xml file from the plugin's template dir to your solr/conf dir. You must have an older version.

Sent from my iPhone

On Apr 17, 2012, at 9:46 PM, AJ Mercer reply@reply.github.com wrote:

I am getting this error in my SOLR logs - anyone be able to point me in the right direction?

Railo 3.3.2.003 final on Windows

18/04/2012 9:39:00 AM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: ERROR: [doc=BB26D7E6-09D3-11E1-B3FF005056830000] unknown field 'fcsp_documentsize' at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:331) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60) at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115) at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:158) at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372) 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.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843) 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)


Reply to this email directly or view it on GitHub: https://github.com/jeffcoughlin/farcrysolrpro/issues/32

seancoyne commented 12 years ago

You might want to copy all the files in the template dir to your solr conf dir in case the other files are old as well. You'll need to restart solr once you do.

jeffcoughlin commented 12 years ago

Are you using an older schema.xml from one of the private betas? If yes, grab all the latest files from the plugin's templates/conf folder and copy into your project's some/conf folder. Don't forget to reload Solr.

Jeff Coughlin

Sent from my iPhone

On Apr 17, 2012, at 21:46, AJ Mercer reply@reply.github.com wrote:

I am getting this error in my SOLR logs - anyone be able to point me in the right direction?

Railo 3.3.2.003 final on Windows

18/04/2012 9:39:00 AM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: ERROR: [doc=BB26D7E6-09D3-11E1-B3FF005056830000] unknown field 'fcsp_documentsize' at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:331) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60) at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115) at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:158) at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372) 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.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843) 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)


Reply to this email directly or view it on GitHub: https://github.com/jeffcoughlin/farcrysolrpro/issues/32

jeffcoughlin commented 12 years ago

Also, you will need to reset your collection data if you already have indexed data. You can do this from the type listing screen in the FCSP main screen in webtop (object admin screen).

Jeff Coughlin

Sent from my mobile device that is not an Android

On Apr 17, 2012, at 21:46, AJ Mercer reply@reply.github.com wrote:

I am getting this error in my SOLR logs - anyone be able to point me in the right direction?

Railo 3.3.2.003 final on Windows

18/04/2012 9:39:00 AM org.apache.solr.common.SolrException log SEVERE: org.apache.solr.common.SolrException: ERROR: [doc=BB26D7E6-09D3-11E1-B3FF005056830000] unknown field 'fcsp_documentsize' at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:331) at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(RunUpdateProcessorFactory.java:60) at org.apache.solr.update.processor.LogUpdateProcessor.processAdd(LogUpdateProcessorFactory.java:115) at org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:158) at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:79) at org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:58) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372) 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.content(HttpConnection.java:945) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843) 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)


Reply to this email directly or view it on GitHub: https://github.com/jeffcoughlin/farcrysolrpro/issues/32

webonix commented 12 years ago

Thank you.

I have copied the XML files into C:\Inetpub\websites\psl.com.au\webroot\farcry\projects\corporate\solr\conf

It now looks like it is indexing files (1 News & 10 pages) but I have more than 10 pages in the site (not all have body with content yet, but all have a title).

When I do a test search within webtop / solr plugin I am not seeing any results.

webonix commented 12 years ago

if I do a test search for a type, then put a value in label, I get results, but not from the KeyWord Search field

jeffcoughlin commented 12 years ago
  1. Which bet of plugin are you using?
  2. Ver of Solr?

Jeff Coughlin

On Apr 17, 2012, at 23:33, AJ Mercer reply@reply.github.com wrote:

if I do a test search for a type, then put a value in label, I get results, but not from the KeyWord Search field


Reply to this email directly or view it on GitHub: https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5191205

webonix commented 12 years ago

I just did a git pull from master stopped and started solr using bat start

I am using the solr bundled with the plugin

On 18 April 2012 12:18, jeffcoughlin < reply@reply.github.com

wrote:

  1. Which bet of plugin are you using?
  2. Ver of Solr?

Jeff Coughlin

On Apr 17, 2012, at 23:33, AJ Mercer reply@reply.github.com wrote:

if I do a test search for a type, then put a value in label, I get results, but not from the KeyWord Search field


Reply to this email directly or view it on GitHub:

https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5191205


Reply to this email directly or view it on GitHub:

https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5191556

AJ Mercer http://webonix.net/ | <webonix:org community="Open" /> http://webonix.org/ http://twitter.com/webonix http://twitter.com/webonix

jeffcoughlin commented 12 years ago

Did you deploy the correct type webskin (in a dmInclude)?

Might be using old Solr one?

Jeff Coughlin

On Apr 18, 2012, at 0:42, AJ Mercer reply@reply.github.com wrote:

I just did a git pull from master stopped and started solr using bat start

I am using the solr bundled with the plugin

On 18 April 2012 12:18, jeffcoughlin < reply@reply.github.com

wrote:

  1. Which bet of plugin are you using?
  2. Ver of Solr?

Jeff Coughlin

On Apr 17, 2012, at 23:33, AJ Mercer reply@reply.github.com wrote:

if I do a test search for a type, then put a value in label, I get results, but not from the KeyWord Search field


Reply to this email directly or view it on GitHub:

https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5191205


Reply to this email directly or view it on GitHub:

https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5191556

AJ Mercer http://webonix.net/ | <webonix:org community="Open" /> http://webonix.org/ http://twitter.com/webonix http://twitter.com/webonix


Reply to this email directly or view it on GitHub: https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5191776

webonix commented 12 years ago

I am doing test searches within webtop If I select a type, eg News, and enter value for 'label' I get a dump of an array

If I use 'Keyword Search' I get nothing.

seancoyne commented 12 years ago

When did you do the git pull? I fixed a bug related to content type specific searches? Make sure you update again from git if it's older than a few days.

Sent from my iPhone

On Apr 18, 2012, at 1:04 AM, AJ Mercer reply@reply.github.com wrote:

I am doing test searches within webtop If I select a type, eg News, and enter value for 'label' I get a dump of an array

If I use 'Keyword Search' I get nothing.


Reply to this email directly or view it on GitHub: https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5191956

webonix commented 12 years ago

Was old config files from beta install.

Also, needed to select text rather than string on solr documents

jeffcoughlin commented 12 years ago

When I was in there last night, it said you were on version 1.0.1 of the plugin. When you get a chance, upgrade to v1.0.2 (I think it's just two files needed for the update).

Jeff Coughlin

On Apr 18, 2012, at 8:07, AJ Mercer reply@reply.github.com wrote:

Was old config files from beta install.

Also, needed to select text rather than string on solr documents


Reply to this email directly or view it on GitHub: https://github.com/jeffcoughlin/farcrysolrpro/issues/32#issuecomment-5197012