Hi Alex,

I get 1 error on start up
Is the error below serious:-


2/25/2015, 11:32:30 PM ERROR SolrCore
org.apache.solr.common.SolrException: undefined field text

org.apache.solr.common.SolrException: undefined field text
at org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1269)
at 
org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(IndexSchema.java:434)
at 
org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(DelegatingAnalyzerWrapper.java:74)
at org.apache.lucene.analysis.Analyzer.tokenStream(Analyzer.java:175)
at org.apache.lucene.util.QueryBuilder.createFieldQuery(QueryBuilder.java:207)
at 
org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(SolrQueryParserBase.java:374)
at 
org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(SolrQueryParserBase.java:742)
at 
org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:541)
at org.apache.solr.parser.QueryParser.Term(QueryParser.java:299)
at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:185)
at org.apache.solr.parser.QueryParser.Query(QueryParser.java:107)
at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:96)
at 
org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:151)
at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50)
at org.apache.solr.search.QParser.getQuery(QParser.java:141)
at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:148)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:197)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1967)
at 
org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:64)
at org.apache.solr.core.SolrCore$5.call(SolrCore.java:1739)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)


On Wed, Feb 25, 2015 at 3:08 AM, Alexandre Rafalovitch
<arafa...@gmail.com> wrote:
> The field definition looks fine. It's not storing any content
> (stored=false) but is indexing, so you should find the records but not
> see the body in them.
>
> Not seeing a log entry is more of a worry. Are you sure the request
> even made it to Solr?
>
> Can you see anything in Dovecot's logs? Or in Solr's access.logs
> (Actually Jetty/Tomcat's access logs that may need to be enabled
> first).
>
> At this point, you don't have enough information to fix anything. You
> need to understand what's different between request against "subject"
> vs. the request against "body". I would break the communication in
> three stages:
> 1) What Dovecote sent
> 2) What Solr received
> 3) What Solr sent back
>
> I don't know your skill levels or your system setup to advise
> specifically, but Network tracer (e.g. Wireshark) is good for 1. Logs
> are good for 2. Using the query from 1) and manually running it
> against Solr is good for 3).
>
> Hope this helps,
>    Alex.
>
> On 24 February 2015 at 12:35, Kevin Laurie <superinterstel...@gmail.com> 
> wrote:
>> <field name="body" type="text" indexed="true" stored="false" />
>
>
>
> ----
> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
> http://www.solr-start.com/

Reply via email to