Re: Lucene stringField EnglishAnalyzer serch nor working

2018-07-20 Thread Erick Erickson
Why so complicated? Boosts do you no good, you're only trying to find one document. Boosts influence the score of documents in the ranking, but there's only one. I suspect if you looked at the debug form of the parsed query, you'd find it pretty unexpected. You say it works with text fields, but

Re: Deleted documents and NRT Readers

2018-07-20 Thread Stuart Goldberg
Version 4.10.4. Sorry we are woefully behind. Stuart M Goldberg Senior Vice President of Software Develpment *FIX Flyer LLC* http://www.FIXFlyer.com/ NOTICE TO RECIPIENT: THIS E- MAIL IS MEANT ONLY FOR THE INTENDED RECIPIENT(S) OF THE TRANSMISSION, AND CONTAINS CONFIDE

Re: Deleted documents and NRT Readers

2018-07-20 Thread Michael McCandless
Yeah it is surprising that Lucene applied that one delete when you said it didn't have to. Which Lucene version? Mike McCandless http://blog.mikemccandless.com On Thu, Jul 19, 2018 at 5:54 PM, Stuart Goldberg wrote: > Understood. But I would think that in a tiny program where I add one > docu

Re: Lucene stringField EnglishAnalyzer serch nor working

2018-07-20 Thread egorlex
Hi Erick, Thanks for reply, In need find document by uuid (random generated field). Example of create field in document: Document document = new Document(); document.add(new StringField("uuid", product.getId() , Field.Store.YES)); Example of query to search: Map boosts = new HashMap<>();

Re: Lucene stringField EnglishAnalyzer serch nor working

2018-07-20 Thread Erick Erickson
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/UsingMaili

Lucene stringField EnglishAnalyzer serch nor working

2018-07-20 Thread egorlex
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