About a simple client/server benchmark on lucene/solr with luceneutil

2020-09-14 Thread harry harry
Hi All, I built a server with Lucene/Solr (branch_8_0, https://github.com/apache/lucene-solr/tree/branch_8_0) and used a client to test the server. However, when the client sent requests, I found the server outputs lots of seemingly error i

Re: join query limitations

2020-09-14 Thread matthew sporleder
This probably carried forward from a very old version organically. I am running 7.7 On Mon, Sep 14, 2020 at 6:25 PM Erick Erickson wrote: > > What version of Solr are you using? ‘cause 8x has this definition for > _version_ > > > > > and I find no text like you’re seeing in any schema file i

Re: join query limitations

2020-09-14 Thread Erick Erickson
What version of Solr are you using? ‘cause 8x has this definition for _version_ and I find no text like you’re seeing in any schema file in 8x…. So with a prior version, “try it and see”? See: https://issues.apache.org/jira/browse/SOLR-9449 and linked JIRAs, the _version_ can be indexed=“fal

Query function error - can not use FieldCache on multivalued field

2020-09-14 Thread Shamik Bandopadhyay
Hi, I'm trying to use Solr query function as a boost for term matches in the title field. Here's my boost function bf=if(exists(query({!v='title:Import data'})),10,0) This throws the following error --> can not use FieldCache on multivalued field: data The function seems to be only working fo

Re: join query limitations

2020-09-14 Thread matthew sporleder
Yes but "the _version_ field is also a non-indexed, non-stored single valued docValues field;" <- is that a problem? My schema has this: I don't know if I use the updateLog or not. How can I find out? I think that would work for me as I could just make a dynamic fild like: --- Yes it i

Re: join query limitations

2020-09-14 Thread Erick Erickson
Have you seen “In-place updates”? See: https://lucene.apache.org/solr/guide/8_1/updating-parts-of-documents.html Then use the field as part of a function query. Since it’s non-indexed, you won’t be searching on it. That said, you can do a lot with function queries to satisfy use-cases. Best. Er

join query limitations

2020-09-14 Thread matthew sporleder
I have hit a bit of a cross-road with our usage of solr where I want to include some slightly dynamic data. I want to ask solr to find things like "text query" but only if they meet some specific criteria. When I have all of those criteria indexed, everything works great. (text contains "apples"

Re: Non-exists Field Query doesn't work when use defType=edismax

2020-09-14 Thread Erick Erickson
“How come edisMax parses *:* as doc_text_value…” This is arguably a bug, especially because it works as you’d expect if you put a space after the paren, i.e. ( *:*… “Does it work the same if I use this clause in q” yes. I know it’s weird, but use some_field:[* TO *] Best, Erick > On Sep 14, 2

Problem: "pull" replica commits to leader?

2020-09-14 Thread Taisuke Miyazaki
Hi, everyone, The data is not synchronized to the pull replica from tlog solr node. We are using a replica of tlog and pull. We are trying to change the version of solr we use from 7.5.0 to 8.6.2. Configuration : The pull node is being started after the tlog node is filled with data. Problem. Th

Re: Non-exists Field Query doesn't work when use defType=edismax

2020-09-14 Thread Iana Bondarska
Hi Erick, thanks for the response! I've checked parsed queries in debug mode and there is following difference: original query(this is value of the q parameter in the query) : (some_field:"hourly") AND (*:* AND -field_to_exclude:*) for edismax defType: (+(+(+some_field:hourly) +(+DisjunctionMaxQu