Re: Accent insensitive search for greek characters

2017-10-25 Thread Chitra
Hi Robert, Thank you so much for the kind response and seems it's working fine... Could you please ensure whether the below one restricts to the greek region alone? UnicodeSet unicodeSet = new UnicodeSet().applyPattern("[:Greek:]"); Normalizer2 base = Normalizer2.getInstance(I

SynonymFilterFactory deprecated

2017-10-25 Thread Vincenzo D'Amore
Hi all, I see in Solr SynonymFilterFactory is deprecated https://lucene.apache.org/core/7_1_0/analyzers-common/ org/apache/lucene/analysis/synonym/SynonymFilterFactory.html the documentation suggest: Use SynonymGraphFilterFactory >

howto get LongPoint stored

2017-10-25 Thread Bernd Fehling
With Lucene 6.6.2 I'm trying to get a LongPoint value indexed and stored. Old code: LegacyLongField dateField = new LegacyLongField("modified", lastModified, Field.Store.YES); Because LegacyLongField is deprecated I tried LongPoint. New code: LongPoint dateField = new LongPoint("modified", last

Re: howto get LongPoint stored

2017-10-25 Thread Alan Woodward
Hi Bernd, You add a separate StoredField with the same name. > On 25 Oct 2017, at 11:11, Bernd Fehling > wrote: > > With Lucene 6.6.2 I'm trying to get a LongPoint value indexed and stored. > > Old code: > LegacyLongField dateField = new LegacyLongField("modified", lastModified, > Field.Stor

Re: SynonymFilterFactory deprecated

2017-10-25 Thread Michael McCandless
You need only one FlattenGraphFilter at the end of your analysis chain. But note that neither SynonymGraphFilter nor SynonymFilter can consume a graph as input; so multiple SynonymGraphFilters will not work. http://blog.mikemccandless.com/2012/04/lucenes-tokenstreams-are-actually.html gives some

Re: Issue with installing PyLucene 6.5.0

2017-10-25 Thread Amin Farajian
Hi Bernd, The Java versions were not the same on the two machines. On the offline machine I had the Oracle Java, while in the machine with the internet connection it was OpenJDK. So, I installed the same Java in my offline machine and it worked. I am not sure what was the issue with the Oracle ja

Re: howto get LongPoint stored

2017-10-25 Thread Bernd Fehling
Ah, yes that's it. But why is it not indexed with LongPoint? At least I cannot see it while inspecting with luke-7.1.0. And also get no query results for "modified:[0 TO *]". With LegacyLongField everything looks and works fine. Feels like LongPoint is a bad replace for LegacyLongField, isn't i

Re: howto get LongPoint stored

2017-10-25 Thread Adrien Grand
Le mer. 25 oct. 2017 à 15:06, Bernd Fehling a écrit : > But why is it not indexed with LongPoint? > At least I cannot see it while inspecting with luke-7.1.0. > Good question. I'm not sure whether Luke supports introspecting points. > And also get no query results for "modified:[0 TO *]". > T