lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Laurie <>
Subject Re: apache solr - dovecot - some search fields works some dont
Date Wed, 25 Feb 2015 15:39:04 GMT
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(
at org.apache.solr.schema.IndexSchema$SolrQueryAnalyzer.getWrappedAnalyzer(
at org.apache.lucene.analysis.DelegatingAnalyzerWrapper$DelegatingReuseStrategy.getReusableComponents(
at org.apache.lucene.analysis.Analyzer.tokenStream(
at org.apache.lucene.util.QueryBuilder.createFieldQuery(
at org.apache.solr.parser.SolrQueryParserBase.newFieldQuery(
at org.apache.solr.parser.SolrQueryParserBase.getFieldQuery(
at org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(
at org.apache.solr.parser.QueryParser.Term(
at org.apache.solr.parser.QueryParser.Clause(
at org.apache.solr.parser.QueryParser.Query(
at org.apache.solr.parser.QueryParser.TopLevelQuery(
at org.apache.solr.parser.SolrQueryParserBase.parse(
at org.apache.solr.handler.component.QueryComponent.prepare(
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(
at org.apache.solr.handler.RequestHandlerBase.handleRequest(
at org.apache.solr.core.SolrCore.execute(
at org.apache.solr.core.QuerySenderListener.newSearcher(
at org.apache.solr.core.SolrCore$
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$

On Wed, Feb 25, 2015 at 3:08 AM, Alexandre Rafalovitch
<> 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 <> wrote:
>> <field name="body" type="text" indexed="true" stored="false" />
> ----
> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:

View raw message