No numShards attribute exists in 'core.properties' with the newly added replica

2020-12-08 Thread Dawn
Hi Solr8.7.0 No numShards attribute exists in 'core.properties' with the newly added replica. Causes numShards to be null using CloudDescriptor. Since the ADDREPLICA command does not get numShards property, the coreProps will not save numShards in the constructor that c

java.lang.IllegalArgumentException: Comparison method violates its general contract

2020-12-01 Thread Dawn
hello: jdk11 solr8.7.0 org.apache.solr.common.SolrException: java.lang.IllegalArgumentException: Comparison method violates its general contract QueryRescorer line 114 Comparator sortDocComparator = new Comparator() { @Override public int compare(ScoreDoc a, ScoreDoc b) { // Sort by scor

Solr.NestPathField

2020-11-03 Thread Dawn
Hi: Use Solr.NestPathField to store data, SPLITSHARD is then used to shard the shard and it is found that the child's data is lost. Version 8.6.3

SolrIndexSearcher RankQuery Score calculation

2020-11-02 Thread Dawn
Hi: SolrIndexSearcher.getDocListNC and getDocListAndSetNC code snippet: if (cmd.getSort() != null && query instanceof RankQuery == false && (cmd.getFlags() & GET_SCORES) != 0) { TopFieldCollector.populateScores(topDocs.scoreDocs, this, query); } When this query includes a filterQuery, `Query

filterCache ramBytesUsed monitoring statistics go negative

2020-11-02 Thread Dawn
Hi: filterCache ramBytesUsed monitoring statistics go negative. Is there a special meaning, or is there a statistical problem When present the list, can sort it by key. Solr7 is like this, easy to view. For example: CACHE.searcher.filterCache.hits: 63265 CACHE

The FunctionQuery.AllScorer.Score 0 points problem

2020-10-29 Thread Dawn
Hi: FunctionQuery. AllScorer. Score () method, If it is less than 0, it returns 0 points. But sometimes you have to compute a negative score. If it were the case, there would be no negative points. Can a global variable be turned on to control whether

PayloadCheckQParserPlugin Increase the operator parameter

2020-07-10 Thread Dawn
Hi: Hope PayloadCheckQParserPlugin can support operator parameters, support the operator is a phrase or or multiple values. As PayloadScoreQParserPlugin 1. Analyze parameters. localParams.get("operator", DEFAULT_OPERATOR); 2. Create SpanQuery, call PayloadUtil

About timeAllowed when using LTR

2020-06-30 Thread Dawn
Hi: When using the LTR, open timeAllowed parameter, LTR feature of query may call ExitableFilterAtomicReader. CheckAndThrow timeout detection. If a timeout occurs at this point, the exception ExitingReaderException is thrown, resulting in a no-result return. Is it possible to accommodate this

Where fq, field sort and rerank query, the score of rerank is not correct

2020-03-11 Thread Dawn
GetDocListNC method in the SolrIndexSearcher class, Query is converted to BooleanQuery when fq queries are available. Has a call query instanceof RankQuery below, which will never be true. The score of rerank is not correct. Do you need to add a loop to the query type? ProcessedFilter pf = ge

The Learning To Rank result is treated as an input to a function

2020-03-03 Thread Dawn
Hi all: How to embed a linear formula calculation in the outer layer of Learning To Rank? We need to do a calculation on the score of Learning To Rank. For example,normal use of Learning To Rank looks like this,I'm going to get a score: rq={!ltr model=myModel reRankDocs=100} I want the score

Re: Total newbie question: "unknown field"

2008-11-20 Thread Elise Dawn Conradi
Hi again! I've figured it out. Hadn't reloaded Solr after updating the schema. Doh. Regards, Elise Quoting Elise Dawn Conradi <[EMAIL PROTECTED]>: Hi all! For a school project at the master's program in LIS at Oslo University College, I am trying to index M

Total newbie question: "unknown field"

2008-11-20 Thread Elise Dawn Conradi
Hi all! For a school project at the master's program in LIS at Oslo University College, I am trying to index Marc-records to make a faceted browser of digital books. So far, I've transformed the Marc-records to Solr-friendly records. I am now trying to update my index (for the first time)