[TYPO3-Solr] Indexed keyword could not be found

Pierrick Caillon pierrick at in-cite.net
Wed Feb 2 17:30:13 CET 2011


Okay, I found what I needed. I had to change the keywords field type to 
textWhiteSpaceTokenizer to get the behavior I wanted.



From: Pierrick Caillon [mailto:pierrick at in-cite.net]
Posted At: Wednesday, February 02, 2011 12:01 PM
Posted To: typo3.projects.solr
Conversation: [TYPO3-Solr] Indexed keyword could not be found
Subject: Re: [TYPO3-Solr] Indexed keyword could not be found



I have made different settings for keywords.

The original field type is textSort. I have also tried string. It is 
multivalued.



I can see the keyword exists using the schema browser.



Here the results for textSortM keyword field (verbose):

Index Analyzer

org.apache.solr.analysis.KeywordTokenizerFactory {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload



org.apache.solr.analysis.LowerCaseFilterFactory {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload



org.apache.solr.analysis.TrimFilterFactory {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload



Query Analyzer

org.apache.solr.analysis.KeywordTokenizerFactory {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload



org.apache.solr.analysis.LowerCaseFilterFactory {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload



org.apache.solr.analysis.TrimFilterFactory {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload





And here for stringM:

Index Analyzer

org.apache.solr.schema.FieldType$DefaultAnalyzer {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload



Query Analyzer

org.apache.solr.schema.FieldType$DefaultAnalyzer {}


term position

1


term text

tic


term type

word


source start,end

0,3


payload







-----Original Message-----
From: Olivier Dobberkau [mailto:olivier.dobberkau at dkd.de]
Posted At: Tuesday, February 01, 2011 7:45 PM
Posted To: typo3.projects.solr
Conversation: [TYPO3-Solr] Indexed keyword could not be found
Subject: Re: [TYPO3-Solr] Indexed keyword could not be found



Am 01.02.11 14:43, schrieb Pierrick Caillon:



> When I do a search using Solr admin pages, I can find some elements

> which have the keyword but only when selecting other things.



What happens if you go to the analysis page and try to find it there?



 <http://localhost:8983/solr/admin/analysis.jsp> 
http://localhost:8983/solr/admin/analysis.jsp





Olivier



More information about the TYPO3-project-solr mailing list