Hi Alex,

Below shows that Solr is not getting anything from the text search.
I will try to search from / to and see hows the performance.





select BAD Error in IMAP command INBOX: Unknown command.
. select inbox
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Forwarded)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft
$Forwarded \*)] Flags permitted.
* 49983 EXISTS
* 0 RECENT
* OK [UNSEEN 46791] First unseen.
* OK [UIDVALIDITY 1414214135] UIDs valid
* OK [UIDNEXT 107218] Predicted next UID
* OK [NOMODSEQ] No permanent modsequences
. OK [READ-WRITE] Select completed (0.002 secs).
search text dave
search BAD Error in IMAP command TEXT: Unknown command.
. search text "dave"
* OK Searched 6% of the mailbox, ETA 2:24
* OK Searched 13% of the mailbox, ETA 2:10
* OK Searched 20% of the mailbox, ETA 1:54
* OK Searched 27% of the mailbox, ETA 1:46
* OK Searched 34% of the mailbox, ETA 1:36
* OK Searched 41% of the mailbox, ETA 1:26
* OK Searched 49% of the mailbox, ETA 1:11
* OK Searched 56% of the mailbox, ETA 1:02
* OK Searched 63% of the mailbox, ETA 0:52
* OK Searched 69% of the mailbox, ETA 0:44
* OK Searched 77% of the mailbox, ETA 0:31
* OK Searched 85% of the mailbox, ETA 0:20
* OK Searched 92% of the mailbox, ETA 0:10
* OK Searched 98% of the mailbox, ETA 0:02

On Wed, Feb 25, 2015 at 11:39 PM, Kevin Laurie
<superinterstel...@gmail.com> wrote:
> 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