Porting Analyzer from ver 4.8.1 to ver 6.4.1

2017-02-16 Thread Vincenzo D'Amore
Hi all, I'm porting few classes from 4.8.1 to the newer version of Lucene. I can't understand how to convert this code, I hope you can help me: public Analyzer creaAnalyzer() { return new Analyzer() { @Override protected TokenStreamComponents createComponents(String fieldName, Reader arg1

Re: Porting Analyzer from ver 4.8.1 to ver 6.4.1

2017-02-17 Thread Vincenzo D'Amore
Thank you, works like a charm.

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 >

Re: SynonymFilterFactory deprecated

2017-11-07 Thread Vincenzo D'Amore
nsight into why synonym > filters create graphs, but it was written before SynonymGraphFilter and > FlattenGraphFilter. > > Mike McCandless > > http://blog.mikemccandless.com > > On Wed, Oct 25, 2017 at 5:04 AM, Vincenzo D'Amore > wrote: > >> Hi all, >>

Re: Sample code?

2018-05-03 Thread Vincenzo D'Amore
tokenizerFactory="solr.WhitespaceTokenizerFactory" > [optional tokenizer factory parameters]/> > > > > Mike L > -- Vincenzo D'Amore

Re: About custom score using Solr8/Lucene8

2020-07-01 Thread Vincenzo D'Amore
472066.n3.nabble.com/Lucene-Java-Users-f532864.html > > - > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Vincenzo D'Amore

Re: About custom score using Solr8/Lucene8

2020-07-02 Thread Vincenzo D'Amore
that returns: CustomDoubleValuesSource custom = new CustomDoubleValuesSource(); return new FunctionScoreQuery(query, custom); If I'm doing right, the problem now is how to implement DoubleValuesSource -- Vincenzo D'Amore

Re: About custom score using Solr8/Lucene8

2020-07-02 Thread Vincenzo D'Amore
Jul 2, 2020 at 9:58 AM Vincenzo D'Amore > wrote: > > > Again, @Federico Pici or anybody, did you figure out how to > > port CustomScoreQuery in Solr8? > > > > On Tue, Jul 23, 2019 at 1:05 AM Xiaofei wrote: > > > > > @Federico Pici, did you

Re: About custom score using Solr8/Lucene8

2020-07-03 Thread Vincenzo D'Amore
;t find an example how to read a binary field from LeafReaderContext Any help appreciated. Best regards, Vincenzo On Thu, Jul 2, 2020 at 1:19 PM Vincenzo D'Amore wrote: > Hi Mikhail, I was just trying to understand how to extend > DoubleValuesSource class, now I'm looking around to f

Re: About custom score using Solr8/Lucene8

2020-07-05 Thread Vincenzo D'Amore
how they have to be implemented? Best regards, Vincenzo On Sat, Jul 4, 2020 at 3:29 AM Vincenzo D'Amore wrote: > Hi all, I did few steps forward but still struggling in how read the field > value inside my custom DoubleValuesSource > > final

Re: About custom score using Solr8/Lucene8

2020-07-06 Thread Vincenzo D'Amore
lementations returns directly: false. What does this mean? why and when should I return true or false? On Mon, Jul 6, 2020 at 2:50 PM Michael Sokolov wrote: > Did you read the DoubleValuesSource javadocs, and find they weren't enough? > > On Sun, Jul 5, 2020 at 7:54 AM Vincenz

Re: About custom score using Solr8/Lucene8

2020-07-07 Thread Vincenzo D'Amore
wrote: > That controls whether getValues(LeafReaderContext ctx, DoubleValues > scores) gets a null scores parameter or not. You should say true only > if you need the text relevance scores computed by the Query's Scorer. > > On Mon, Jul 6, 2020 at 10:22 AM Vincenzo D'Amor

Re: Port on iOS

2020-08-21 Thread Vincenzo D'Amore
I don’t think you can. Apple's mobile operating system (iOS) has never supported Java and AFAIK it never will. Most iOS app that needs a search engine or a NoSQL relies on an external service reachable via http. Ciao, Vincenzo -- mobile: 3498513251 skype: free.dev > On 21 Aug 2020, at 16:12,

Re: Slower document retrieval in 8.7.0 comparing to 7.5.0

2020-12-22 Thread Vincenzo D'Amore
> wrote: > > > > > Hi, > > > We've migrated from 7.5.0 to 8.7.0 and find out that the index > > "searching" > > > is significantly (4-5 times) slower in the latest version. > > > It seems that > > > org.apache.lucene.search.IndexSearcher#doc(int) > > > is slower. > > > > > > Is it possible to have similar performance with 8.7.0? > > > > > > Best regards, > > > Martynas > > > > > > > > > -- > > Adrien > > > -- Vincenzo D'Amore

Re: [HELP] Link your Apache Lucene Jira and GitHub account ids before Thursday August 4 midnight (in your local time)

2022-08-08 Thread Vincenzo D'Amore
Hi I would like to be added, thanks. My Github account: freedev Jira: v.dam...@gmail.com On Sun, 31 Jul 2022 at 12:09, Michael McCandless wrote: > Hello Lucene users, contributors and developers, > > If you have used Lucene's Jira and you have a GitHub account as well, > please check whether y