lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Lucene stringField EnglishAnalyzer serch nor working
Date Fri, 20 Jul 2018 16:00:14 GMT
Please provide specific examples of what you mean.
along with the fieldType you tried, an example of
what the input at index time for the field, and examples
of what searches "didn't work". What exactly did
you expect to happen that didn't?

You might review:
https://wiki.apache.org/solr/UsingMailingLists

But at a blind guess, I'd expect you want a
solr.TextField-based field with
KeywordTokenizer and LowercaseFilter.

There are usually examples in the distributed schemas, but
it's impossible to tell in your case because you haven't
told us what version of Solr you're using.

Best,
Erick

On Fri, Jul 20, 2018 at 4:22 AM, egorlex <egorlex@gmail.com> wrote:
> Hi, please help..
>
> I need exact match for my search for one field. I make it by stringField,
> but it is not working no search result.I tried lowercase   but it still no
> result in search.  I tried text field and it works but it is no exact
> match..
> I use EnglishAnalyzer
>
> Thanks!
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Lucene-Java-Users-f532864.html
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message