Re: Can I express this nested query in JSON DSL?

2020-12-08 Thread Mikhail Khludnev
. ] >} > } > } > > But how do I actually go from 'x AND (y OR z)' to 'bool' in the query > DSL? I seem to lose the nice compositional properties of the expression. > Here, for example, the expression implies that at least 'y' or 'z' must > match; I don't quite see how I can express this in the DSL. > > Kind regards, > Mikhail > -- Sincerely yours Mikhail Khludnev

Re: QTime lesser for facet.limit=-1 than facet.limit=5000/10000

2020-07-09 Thread Mikhail Khludnev
/facet_Response_1.txt> > > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-07 Thread Mikhail Khludnev
20 at 4:19 PM Jae Joo wrote: > 8.3.1 > > required="true" multiValued="false" docValues="true"/> > required="true" multiValued="false"/> > > the field "id" is for nested document. > > > > &g

Re: Null pointer exception in QueryComponent.MergeDds method

2020-07-06 Thread Mikhail Khludnev
at > > org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) > at > > org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1711) > at > > org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) > -- Sincerely yours Mikhail Khludnev

Re: FunctionScoreQuery how to use it

2020-07-01 Thread Mikhail Khludnev
I'm looking for an example on how to > implement it using FunctionScoreQuery. > > Do you know if there are examples that explain how to port the code to the > new implementation? > > -- > Vincenzo D'Amore > -- Sincerely yours Mikhail Khludnev

Re: About timeAllowed when using LTR

2020-06-30 Thread Mikhail Khludnev
gt; This exception occurs in two places: > > 1. LTRScoringQuery. CreateWeight or createWeightsParallel. Here is the > loading stage, timeout directly end is acceptable. > > 2. ModelWeight.scorer. This is a stage that evaluates each Doc and can > catch the exception, end early, and return part of the result. -- Sincerely yours Mikhail Khludnev

Re: Prefix + Suffix Wildcards in Searches

2020-06-29 Thread Mikhail Khludnev
Hello, Chris. I suppose index time analysis can yield these terms: "paid","ms-reply-unpaid","ms-reply-paid", and thus let you avoid these expensive wildcard queries. Here's why it's worth to avoid them https://www.slideshare.net/lucidworks/search-like-sql-mikhail

Re: Developing update processor/Query Parser

2020-06-25 Thread Mikhail Khludnev
t; > I mean a snippet of configuration shared between update processor factory > and QParser. > > > On Wed, Jun 24, 2020 at 10:33 PM Mikhail Khludnev wrote: > > > Hello, Vincenzo. > > Presumably you can introduce a component which just holds a config data, > &g

Re: Unexpected results using Block Join Parent Query Parser

2020-06-25 Thread Mikhail Khludnev
ike this: > > {!parent which='class:instruction'}class:observation > > It still returns a result for the instruction document, even though the > document with class instruction does not have any children... > > Tor-Magne Stien Hagen > > -Original Message- > From: Mikhail Khl

Re: Developing update processor/Query Parser

2020-06-24 Thread Mikhail Khludnev
common solution when > a piece of configuration has to be loaded at boot, or when the core is > loaded. > Or when, after an update a new searcher is created and a new query parser > is created. > > Any suggestion is really appreciated. > > Best regards, > Vincenzo > > > > -- > Vincenzo D'Amore > -- Sincerely yours Mikhail Khludnev

Re: Unexpected results using Block Join Parent Query Parser

2020-06-24 Thread Mikhail Khludnev
g? > > > > Tor-Magne Stien Hagen > > > > -Original Message- > > From: Mikhail Khludnev > > Sent: Wednesday, June 24, 2020 10:01 AM > > To: solr-user > > Subject: Re: Unexpected results using Block Join Parent Query Parser > > > > He

Re: Unexpected results using Block Join Parent Query Parser

2020-06-24 Thread Mikhail Khludnev
g query: > > {!parent which='id:4'}id:3 > > I expect the result to be empty as document 3 is not a child document of > document 4. > > To reproduce, use the docker container provided here: > https://github.com/tormsh/Solr-Example > > Have I misunderstood something regarding the Block Join Parent Query > Parser? > > Tor-Magne Stien Hagen > > -- Sincerely yours Mikhail Khludnev

Re: eDismax query syntax question

2020-06-15 Thread Mikhail Khludnev
rck KGaA, Darmstadt, Germany and any of its > subsidiaries do not accept liability for any omissions or errors in this > message which may arise as a result of E-Mail-transmission or for damages > resulting from any unauthorized changes of the content of this message and > any attachment thereto. Merck KGaA, Darmstadt, Germany and any of its > subsidiaries do not guarantee that this message is free of viruses and does > not accept liability for any damages caused by any virus transmitted > therewith. > > > > Click http://www.merckgroup.com/disclaimer to access the German, French, > Spanish and Portuguese versions of this disclaimer. > -- Sincerely yours Mikhail Khludnev

Re: using solr to extarct keywords from a long text?

2020-06-10 Thread Mikhail Khludnev
solr core > is set up as standalone and not in cloud mode. > > Best > David -- Sincerely yours Mikhail Khludnev

Re: index join without query criteria

2020-06-08 Thread Mikhail Khludnev
directors to=director_id}id:[* TO *]? > > Thanks, > Hari. > > -- Sincerely yours Mikhail Khludnev

Re: which terms are used at the matched document?

2020-06-03 Thread Mikhail Khludnev
> "match":true, > "value":58.0, > "description":"freq, occurrences of term within > document"}, > { > "match":true, > "value"

Re: which terms are used at the matched document?

2020-06-03 Thread Mikhail Khludnev
cause of synonyms.txt) > > > > I looked into debug mode but I believe it returns information about the > ranking calculation. > > > > Thanks, > > > > Serkan > > > > > > > > > > -- Sincerely yours Mikhail Khludnev

Re: Lucene query to Solr query

2020-05-31 Thread Mikhail Khludnev
d:doc:en:index.html > > > > > > But, it does not work if I use it as a solr query with lucene as > defType. > > > > > > For it to work, I need to convert it like following: > > > q=+((topics:132)^0.02607211 (topics:146)^0.008187325 > > > +(-(asset_id:doc\:en\:index.html))=edismax=OR > > > > > > Why does it not work as is? AFAIK syntax given in the first query is > > > supported by edismax. > > > > > -- Sincerely yours Mikhail Khludnev

Re: Query takes more time in Solr 8.5.1 compare to 6.1.0 version

2020-05-23 Thread Mikhail Khludnev
while execute query). > > > > > > Query : > https://drive.google.com/file/d/1bavCqwHfJxoKHFzdOEt-mSG8N0fCHE-w/view > > > > > > Logs and Thread dump stack trace > > > Solr 8.5.1 : > https://drive.google.com/file/d/149IgaMdLomTjkngKHrwd80OSEa1eJbBF/view > > > Solr 6.1.0 : > https://drive.google.com/file/d/13v1u__fM8nHfyvA0Mnj30IhdffW6xhwQ/view > > > > > > To analyse further more we found that if we remove grouping field or > we reduce no. of ids from query it execute fast. Is anything change in > 8.5.1 version compare to 6.1.0 as in 6.1.0 even for large no. Ids along > with grouping it works faster? > > > > > > Can someone please help to isolate this issue. > > > > > > Regards, > > > Jay Harkhani. > -- Sincerely yours Mikhail Khludnev

Re: Use Subquery Parameters to filter main query

2020-05-22 Thread Mikhail Khludnev
> > in the example, I want to filter type documents where members field has the > 6 value. > > thanks > > > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: Fetch related documents from Custom Function

2020-05-18 Thread Mikhail Khludnev
gt; function is getting executed inside SOLR, what's the easy to read the other > documents in SOLR, instead of establishing new connection via solrj and > read > it. > > Thanks in advance. > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: Solrcloud 6.6 becomes nuts

2020-05-17 Thread Mikhail Khludnev
tandard queries or suggesters > * Queries generate facets but there is no fields with very high number of > unique values > * No grouping > * High usage of function query for relevance computing > > > Thank you. > > Dominique > -- Sincerely yours Mikhail Khludnev

Re: Filtering large amount of values

2020-05-17 Thread Mikhail Khludnev
hed. > Thanks, > Artur Rudenko > > -Original Message- > From: Mikhail Khludnev > Sent: Thursday, May 14, 2020 2:57 PM > To: solr-user > Subject: Re: Filtering large amount of values > > Hi, Artur. > > Please, don't tell me that you obtain docValues per

Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1

2020-05-16 Thread Mikhail Khludnev
> execution? > > Note: I got a thread name from log and checked in thread dump on query > execution time and after query executed. Both time thread stack trace got > different. > > If any other things are required then let me know I will send. > > Regards, > Vishal Patel

Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1

2020-05-16 Thread Mikhail Khludnev
tps://drive.google.com/drive/folders/1pJBxL0OOwAJSEC5uK_87ikaHEVGdDEEn> > > It takes 34 seconds in Solr 8.3.0 or Solr 8.5.1. Same URL takes 1.5 > seconds in Solr 6.1.0. > > Is there any changes or issue related to grouping in Solr 8.3.0 or 8.5.1? > > > Regards, > Vishal Patel > > -- Sincerely yours Mikhail Khludnev

Re: Filtering large amount of values

2020-05-14 Thread Mikhail Khludnev
above. If you are not the intended recipient (or > authorized to receive this e-mail for the intended recipient), you may not > use, copy, disclose or distribute to anyone this message or any information > contained in this message. If you have received this electronic message in > error, please notify us by replying to this e-mail. > -- Sincerely yours Mikhail Khludnev

Re: Solr 8.5.1 query timeAllowed exceeded throws exception

2020-05-13 Thread Mikhail Khludnev
In case of expiration, if omitHeader isn’t set to true the > response header contains a special flag called partialResults. > > > > I do not believe I should be getting an exception. > > > > I am load testing so I am intentionally putting pressure on the system. > > > > Is this the correct behavior to throw an exception? > > > > Regards. > > -- Sincerely yours Mikhail Khludnev

Re: Data Import Handler - Concurrent Entity Importing

2020-05-05 Thread Mikhail Khludnev
s better to fully qualify a field name or use two > different fields for performing the "same" search. i.e: > > > { > type_A_status; Active > type_A_value: Test > } > vs > { > type: A > status: Active > value: Test > } > -- Sincerely yours Mikhail Khludnev

Re: off-heap OOM

2020-05-01 Thread Mikhail Khludnev
> > > 34d82ed033cccd8120431b73e93554b85b24a278 - i843100 - 2019-09-30 > > > 14:02:46] > > > > > >at > > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > > > [?:1.8.0_211] > > > > > >at > > > java.util.concurrent.FutureTask.runAndReset(FutureTask

Re: off-heap OOM

2020-05-01 Thread Mikhail Khludnev
>at > > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) > [?:1.8.0_211] > > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > [?:

Re: off-heap OOM

2020-04-30 Thread Mikhail Khludnev
ed, it will also contain a message > > >> mentioning which resource ran out. > > >> > > >> A common message that might be logged with the OOME is "Unable to > create > > >> native thread". This type of error, if that's what's happening, > > >> actually has nothing at all to do with memory, OOME is just how Java > > >> happens to report it. > > >> > > >> You will need to know exactly which resource is running out before we > > >> can offer any assistance. > > >> > > >> If the OOME is logged, the message you're looking for will be in the > > >> solr log, not the tiny special log that is created when Solr is killed > > >> by an OOME. What version of Solr are you running, and what OS is it > > >> running on? > > >> > > >> Thanks, > > >> Shawn > > >> > > > > > -- Sincerely yours Mikhail Khludnev

Re: Using QT param with /select

2020-03-10 Thread Mikhail Khludnev
a way I can retain both the > functionalities? > No code changes to integration test code and making qt param work again. > > Big thanks for any pointers !! > > Sincerely, > Atita > -- Sincerely yours Mikhail Khludnev

Re: Possible performance bug - JSON facet - numBuckets:true

2020-03-10 Thread Mikhail Khludnev
ime just to get number of buckets when we will get all of > them anyway doesn't seems to be right. > > Any thoughts? > > > Thanks > Artur Rudenko > > > This electronic message may contain proprietary and confidential > information of Verint Systems Inc., its affiliates and/or subsidiaries. The > information is intended to be for the use of the individual(s) or > entity(ies) named above. If you are not the intended recipient (or > authorized to receive this e-mail for the intended recipient), you may not > use, copy, disclose or distribute to anyone this message or any information > contained in this message. If you have received this electronic message in > error, please notify us by replying to this e-mail. > -- Sincerely yours Mikhail Khludnev

Re: Ordering in Nested Document

2020-02-24 Thread Mikhail Khludnev
ame. > > So ideally we shouldn't have childfree and blocks together while indexing? > Or in the whole index they shouldn't be together, i.e. We should have > atleast one child doc for all if any of doc has one? > > On Mon, Feb 24, 2020 at 4:24 PM Mikhail Khludnev wrote: > >

Re: Ordering in Nested Document

2020-02-24 Thread Mikhail Khludnev
; > 4 > 4 > Lots of new features > childDocument > > > > > > Output of block join query after ingesting above docs: > [image: image.png] > > So doc id 5 is getting linked to doc id 1. Is this expected behavior, I > believ Id-5 should be a different document tree. > > Shall I Ingest them in some order ? > > -- Sincerely yours Mikhail Khludnev

Re: Best Practises around relevance tuning per query

2020-02-18 Thread Mikhail Khludnev
d query? > > > > Regards, > > Ash & Spirit. > > > > -- > ** > ** <https://www.canva.com/>Empowering the world to design > Also, we're > hiring. Apply here! <https://about.canva.com/careers/> > > <https://twitter.com/canva> <https://facebook.com/canva> > <https://au.linkedin.com/company/canva> <https://twitter.com/canva> > <https://facebook.com/canva> <https://au.linkedin.com/company/canva> > <https://instagram.com/canva> > > > > > > > > > > > -- Sincerely yours Mikhail Khludnev

Re: A question about solr filter cache

2020-02-17 Thread Mikhail Khludnev
t; * using some compressed bitmap, e.g. roaring bitmaps > > which one is correct? or another answer, thanks you very much! > > -- Sincerely yours Mikhail Khludnev

Re: Slow quires and facets

2020-02-15 Thread Mikhail Khludnev
r > Customer Engagement Solutions, VERINT > T +972.74.747.2536 | M +972.52.425.4686 > > > > This electronic message may contain proprietary and confidential > information of Verint Systems Inc., its affiliates and/or subsidiaries. The > information is intended to be for the use of the individual(s) or > entity(ies) named above. If you are not the intended recipient (or > authorized to receive this e-mail for the intended recipient), you may not > use, copy, disclose or distribute to anyone this message or any information > contained in this message. If you have received this electronic message in > error, please notify us by replying to this e-mail. > -- Sincerely yours Mikhail Khludnev

Re: DataImportHandler SolrEntityProcessor configuration for local copy

2020-02-06 Thread Mikhail Khludnev
ously it died about 800k docs, now we're at 1.2m without any > slowdown. > > Thank you so much > > On 06/02/2020, 08:14, "Mikhail Khludnev" wrote: > > Hello, Karl. > Please check these: > > https://eur03.safelinks.protection.ou

Re: DataImportHandler SolrEntityProcessor configuration for local copy

2020-02-06 Thread Mikhail Khludnev
Previously it died about 800k docs, now we're at 1.2m without any > slowdown. > > Thank you so much > > On 06/02/2020, 08:14, "Mikhail Khludnev" wrote: > > Hello, Karl. > Please check these: > > https://eur03.safelinks.protection.ou

Re: DataImportHandler SolrEntityProcessor configuration for local copy

2020-02-06 Thread Mikhail Khludnev
ashire, M15 4FN (Registered in England > No. 9439967). This email and any files transmitted with it are confidential > and may be legally privileged, and intended solely for the use of the > individual or entity to whom they are addressed. If you have received this > email in error please notify the sender. This email message has been swept > for the presence of computer viruses. > -- Sincerely yours Mikhail Khludnev

Re: Number of requested rows

2020-02-05 Thread Mikhail Khludnev
where it is in the codebase > or which structure is used - I am guessing some array of objects? > > Thanks, > Emir > -- > Monitoring - Log Management - Alerting - Anomaly Detection > Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > > > > > On

Re: Number of requested rows

2020-02-05 Thread Mikhail Khludnev
ort Training - http://sematext.com/ > > > > -- Sincerely yours Mikhail Khludnev

Re: Exact search in Solr

2020-02-04 Thread Mikhail Khludnev
uprawnione > wykorzystanie informacji zawartych w tej wiadomości jest zabronione. > > *Confidentiality Note:* This message is intended only for the use of the > named recipient(s) and may contain confidential and/or proprietary > information. If you are not the intended recipient, please contact the > sender and delete this message. Any unauthorized use of the information > contained in this message is prohibited. > -- Sincerely yours Mikhail Khludnev

Re: Early termination in Lucene 8

2020-01-30 Thread Mikhail Khludnev
He, Wei. Feel free to followup https://issues.apache.org/jira/browse/SOLR-13289 On Thu, Jan 23, 2020 at 11:14 PM Wei wrote: > Thanks Mikhail. Do you know of any example on query parser with WAND? > > On Thu, Jan 23, 2020 at 1:02 AM Mikhail Khludnev wrote: > > > If one cr

Re: Solr fact response strange behaviour

2020-01-29 Thread Mikhail Khludnev
e still seeing the issue. If you include the full > stacktrace and a snippet of code to reproduce, I'm curious to take a look. > > That won't help you in the short term though. For that, yes, you'll have > to use ((Number)count).longValue() in the interim. > > Best, > > Ja

Re: Query Regarding SOLR cross collection join

2020-01-29 Thread Mikhail Khludnev
It's time to enforce and document field type constraints https://issues.apache.org/jira/browse/SOLR-14230. On Mon, Jan 27, 2020 at 4:12 PM Doss wrote: > @ Alessandro Benedetti , Thanks for your input! > > @ Mikhail Khludnev , I made docValues="true" for from & to and did

Re: Solr fact response strange behaviour

2020-01-27 Thread Mikhail Khludnev
t).longValue() ? > > -Original Message----- > From: Mikhail Khludnev > Sent: Tuesday, January 28, 2020 8:53 AM > To: solr-user > Subject: Re: Solr fact response strange behaviour > > I suppose there's an issue, which no one ever took a look. > > https://lucene.472066.n3.nabble.

Re: Solr fact response strange behaviour

2020-01-27 Thread Mikhail Khludnev
ion for JSON Facets > requests...any idea why not consistent ? > > Sent from Workspace ONE Boxer > > On Jan 27, 2020 22:13, Mikhail Khludnev wrote: > Hello, > It might be different between SolrCloud and standalone mode. No data enough > to make a conclusion. > > On Mon, Jan 2

Re: Solr fact response strange behaviour

2020-01-27 Thread Mikhail Khludnev
s electronic message in > error, please notify us by replying to this e-mail. > -- Sincerely yours Mikhail Khludnev

Re: Solr 8.0 Json Facets are slow - need help

2020-01-23 Thread Mikhail Khludnev
Hello, Kumar. I don't know. 3 / 84 ratio seems reasonable. The only unknown part of the equation was that {!simpleFilter}. Anyway, profiler/sampler might get exact answer. On Fri, Jan 24, 2020 at 8:55 AM kumar gaurav wrote: > HI Mikhail > > Can you please see above debug log and help ? > >

Re: Early termination in Lucene 8

2020-01-23 Thread Mikhail Khludnev
Never heard of that. On Thu, Jan 23, 2020 at 11:14 PM Wei wrote: > Thanks Mikhail. Do you know of any example on query parser with WAND? > > On Thu, Jan 23, 2020 at 1:02 AM Mikhail Khludnev wrote: > > > If one creates query parser wrapping queries with WAND it just prod

Re: Query Regarding SOLR cross collection join

2020-01-23 Thread Mikhail Khludnev
Can you try to enable docValues on from side and reindex small portion of data just to check if it works. > > > Thanks! > -- Sincerely yours Mikhail Khludnev

Re: Early termination in Lucene 8

2020-01-23 Thread Mikhail Khludnev
> Wei > -- Sincerely yours Mikhail Khludnev

Re: Does it make sense docValues="true" for _root_ field for uniqueBlock()

2020-01-22 Thread Mikhail Khludnev
urs interval . > > need to use uniqueBlock for json facet for child faceting . > > Should i use docValues="true" for _root_ field ? > > Thanks . > > regards > Kumar Gaurav > > > > On Thu, Jan 23, 2020 at 1:28 AM Mikhail Khludnev wrote: > > &

Re: Does it make sense docValues="true" for _root_ field for uniqueBlock()

2020-01-22 Thread Mikhail Khludnev
gt; Kumar Gaurav > -- Sincerely yours Mikhail Khludnev

Re: Solr 8.0 Json Facets are slow - need help

2020-01-22 Thread Mikhail Khludnev
, > - > "{!child of=$pq filters=$fq}docType:(product > collection)", > ], >}, > - type: "terms", > - field: "price_refine", >

Re: Solr 8.0 Json Facets are slow - need help

2020-01-22 Thread Mikhail Khludnev
, >- "{!child of=$pq filters=$fq}docType:(product collection)" >, >], > }, > - type: "terms", > - field: "size_refine", > - limit: -1, >

Re: Solr 8.0 Json Facets are slow - need help

2020-01-21 Thread Mikhail Khludnev
ets are slow . It is taking much time than > expected . > Can anyone please check this query specially child.fq and json.facet part . > > Please help me in this . > > Thanks & regards > Kumar Gaurav > -- Sincerely yours Mikhail Khludnev

Re: How do I add multiple values for same field with DIH script?

2020-01-16 Thread Mikhail Khludnev
s a test" > > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: JOIN query

2020-01-08 Thread Mikhail Khludnev
As a result, I can get any field from collection2 in 'fl'. > > Is there any way to get field from collection1 while performing query from > collection2 joining with collection1? > > > Regards, > Paresh > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: Performance of Bulk Importing TSV File in Solr 8

2020-01-02 Thread Mikhail Khludnev
nnection seems to > be held open indefinitely. If however, i upload the same file as a CSV, > then solr does close the http connection. Is this a bug? > -- Sincerely yours Mikhail Khludnev

Re: Get Solr to notice new core without restarting?

2019-12-13 Thread Mikhail Khludnev
versity Library > Indiana University - Purdue University Indianapolis > 755 W. Michigan Street > Indianapolis, IN 46202 > 317-274-0749 > www.ulib.iupui.edu > -- Sincerely yours Mikhail Khludnev

Re: native Thread - solr 8.2.0

2019-12-09 Thread Mikhail Khludnev
limit. > > As long as you're fiddling with limits, you'll probably also want to > increase the open file limit. > > Thanks, > Shawn > -- Sincerely yours Mikhail Khludnev

Re: Excluding a block join filter query during faceting

2019-12-04 Thread Mikhail Khludnev
faceting with domain filter capability will > probably solve my problem but I cannot use JSON faceting at this point. > > Thanks a lot, > > Srijan Nepal > -- Sincerely yours Mikhail Khludnev

Re: Is it possible to use the Lucene Query Builder? Is there any API to create boolean queries?

2019-12-02 Thread Mikhail Khludnev
t; > SolrQuery query = new SolrQuery(); > > query.set("fl", "term"); > > query.set("q", "term~1 term2~2 term3~2"); > > query.set("mm",2); > > > > System.out.println(query); > > > > > > > > And I was unable to find any example that would allow me to do the type > of > > query that I am trying to build with only one solr query. > > > > > > > > Is it possible to use the Lucene Query builder with Solr? Is there any > way > > to create Boolean queries with Solr? Do I need to build the query as a > > String? If so , how do I set the mm parameter in a String query? > > > > > > > > Thank you > > > -- Sincerely yours Mikhail Khludnev

Re: Solr 4 to Solr7 migration DIH behavior change

2019-11-25 Thread Mikhail Khludnev
losing but then > data import got really slow and getting stuck without any logs in solr > logs. I'll debug more from DB perspective, in the meantime any pointers > would be helpful > > On 11/24/19, 3:51 PM, "Mikhail Khludnev" wrote: > > Note - This message originat

Re: Solr 4 to Solr7 migration DIH behavior change

2019-11-24 Thread Mikhail Khludnev
or iOS<https://aka.ms/o0ukef> > ____ > From: Mikhail Khludnev > Sent: Sunday, November 24, 2019 2:51:40 PM > To: solr-user > Subject: Re: Solr 4 to Solr7 migration DIH behavior change > > Note - This message originated from outside Care.co

Re: Solr 4 to Solr7 migration DIH behavior change

2019-11-24 Thread Mikhail Khludnev
d any attachments from your system. > > > > > This email is intended for the person(s) to whom it is addressed and may > contain information that is PRIVILEGED or CONFIDENTIAL. Any unauthorized > use, distribution, copying, or disclosure by any person other than the > addressee(s) is strictly prohibited. If you have received this email in > error, please notify the sender immediately by return email and delete the > message and any attachments from your system. > -- Sincerely yours Mikhail Khludnev

Re: Nested SubQuery

2019-11-22 Thread Mikhail Khludnev
Hello, You may try to add =q,row.id and check logs

Re: Fetch parent and child document in solr 8.2

2019-11-19 Thread Mikhail Khludnev
n.html?cmpid=emailsig_link> *·* Blog > <http://www.oclc.org/blog/main/?cmpid=emailsig_blog> *·* Facebook > <http://www.facebook.com/pages/OCLC/20530435726> *·* Twitter > <http://twitter.com/oclc> *·* YouTube <http://www.youtube.com/OCLCvideo> > > > -- Sincerely yours Mikhail Khludnev

Re: async BACKUP under Solr8.3

2019-11-18 Thread Mikhail Khludnev
RD (async) with > failures in underlying sub-operations can result in data loss" > > Did a fix to SPLITSHARD break BACKUP? > > Has anyone been successful running > solr/admin/collections?action=BACKUP=requestname under Solr8.3? > > Thanks > -- Sincerely yours Mikhail Khludnev

Re: sort by score in join with geodist()

2019-11-14 Thread Mikhail Khludnev
4.6973867999,25.22481530046", > "store.fl > ":"*,score", "sort":"score desc", "sfield":"coordinates", "q":"{!join > from=site_id to=site_id fromIndex=stores score=max}+{!geofilt} > {!func}geodist() ", "h

Re: sort by score in join with geodist()

2019-11-14 Thread Mikhail Khludnev
":"{!edismax > qf=$hl.fl v=\"iphone xr 64gb\"}", "hl.method":"unified", > "debugQuery":"on"}}, > "error":{ "metadata":[ > "error-class","org.apache.solr.common.SolrException", > &

Re: sort by score in join with geodist()

2019-11-14 Thread Mikhail Khludnev
t; > phraseFreq=1.0\n 1.2 = k1, term saturation parameter\n 0.75 = b, > length > >>> > normalization parameter\n 4.0 = dl, length of field\n 8.384666 = > avgdl, > >>> > average length of field\n", "product: > >>> > https://istore.lt/iph

Re: sort by score in join with geodist()

2019-11-12 Thread Mikhail Khludnev
ning term\n 1500 = N, total number of > documents with field\n 3.3156862 = idf, computed as log(1 + (N - n + 0.5) / > (n + 0.5)) from:\n 54 = n, number of documents containing term\n 1500 = N, > total number of documents with field\n 2.3686793 = idf, computed as log(1 + > (N - n + 0.5) / (n + 0.5)) from:\n 140 =

Re: sort by score in join with geodist()

2019-11-12 Thread Mikhail Khludnev
t;metadata":[ "error-class","org.apache.solr.common.SolrException", >> "root-error-class","org.apache.solr.common.SolrException"], "msg":"A >> ValueSource isn't directly available from this field. Instead try a query >> u

Re: sort by score in join with geodist()

2019-11-11 Thread Mikhail Khludnev
.solr.common.SolrException", > "root-error-class","org.apache.solr.common.SolrException"], "msg":"A > ValueSource isn't directly available from this field. Instead try a query > using the distance as the score.", > > On Mon, Nov 11, 2019 at 1:3

Re: sort by score in join with geodist()

2019-11-11 Thread Mikhail Khludnev
+{!func}gedist() +{!geofilt sfield=coordinates > pt=54.6973867999,25.22481530046 d=10} > sort=score desc > Thank you > -- Sincerely yours Mikhail Khludnev

Re: subquery highlight

2019-11-10 Thread Mikhail Khludnev
scription and like this hl=on=title description and > hl.products=on=title description. > I don't know what else > > > On Mon, Nov 11, 2019 at 8:25 AM Mikhail Khludnev wrote: > > > Hello, > > Have you tried to pefix hl.* params with particular subquery name? > >

Re: subquery highlight

2019-11-10 Thread Mikhail Khludnev
Hello, Have you tried to pefix hl.* params with particular subquery name? On Sun, Nov 10, 2019 at 11:46 PM Vasily Ogar wrote: > Hello, > I am using Solr 8.2 and can't find out how to use highlight in the > subquery. Is it possible at all? > Thank you > -- Sincerely yours Mikhail Khludnev

Re: Error with Solr Suggester using lookupIml = FreeTextLookupFactory

2019-11-06 Thread Mikhail Khludnev
zing.FreeTextSuggester.lookup(FreeTextSuggester.java:388)\n\tat > > org.apache.solr.spelling.suggest.SolrSuggester.getSuggestions(SolrSuggester.java:243)\n\tat > > org.apache.solr.handler.component.SuggestComponent.process(SuggestComponent.java:264)\n\tat > > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:298)\n\tat > > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:199)\n\tat > org.apache.solr.core.SolrCore.execute(SolrCore.java:2566)\n\tat > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:756)\n\tat > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:542)\n\tat > -- Sincerely yours Mikhail Khludnev

Re: ConcurrentModificationException in SolrInputDocument writeMap

2019-11-06 Thread Mikhail Khludnev
codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:181) > > at > > > org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil > > .java:209) > > at > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > > at > > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > > > > at java.lang.Thread.run(Thread.java:748) > > > > > -- Sincerely yours Mikhail Khludnev

Re: Ref Guide - Precision & Recall of Analyzers

2019-11-06 Thread Mikhail Khludnev
ards, > > *Paras Lehana* [65871] > Development Engineer, Auto-Suggest, > IndiaMART Intermesh Ltd. > > 8th Floor, Tower A, Advant-Navis Business Park, Sector 142, > Noida, UP, IN - 201303 > > Mob.: +91-9560911996 > Work: 01203916600 | Extn: *8173* > > -- > IMPORTANT: > NEVER share your IndiaMART OTP/ Password with anyone. > > > -- Sincerely yours Mikhail Khludnev

Re: DIH across two SQL DBs

2019-10-31 Thread Mikhail Khludnev
> operation? > > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > -- Sincerely yours Mikhail Khludnev

Re: Reg: Solr Segment level cache

2019-10-30 Thread Mikhail Khludnev
; -- > with thanks and regards, > lawrence antony. > -- Sincerely yours Mikhail Khludnev

Re: Solr-Cloud, join and collection collocation

2019-10-16 Thread Mikhail Khludnev
> > the joined collection, I have to update every one of the distributed > > > > collections. > > > > > > > > In standalone mode, I only would have to update the joined > collection. > > > > > > > > I wonder if there is a way to overcome this limitation. For example, > by > > > > replicating the joined collection to every shard - or other method I > am > > > > ignoring. > > > > > > > > Any thought ? > > > > -- > > > > nicolas > > > > > > > -- > > nicolas > > > > -- > nicolas > -- Sincerely yours Mikhail Khludnev

Re: Atomic Updates with PreAnalyzedField

2019-10-16 Thread Mikhail Khludnev
gain > { > "response":{"numFound":1,"start":0,"maxScore":1.0,"docs":[ > { > "id":"a", > "n_s":"s2", > "_version_":1647475461695995904}] > }} > > Result: There is no 'pre' field in the document anymore. > > > My thoughts on it: > > 1. Data loss can be prevented if the warning will be replaced with error > (re-throwing exception). Atomic updates for such documents still won't > work, but updates will be explicitly rejected. > > 2. Solr tries to read the document from index, merge it with input document > and re-index the document, but when it reads indexed pre-analyzed fields > the format is different, so Solr cannot parse and re-index those fields > properly. > > > Thank you, > Oleksandr > -- Sincerely yours Mikhail Khludnev

Re: Wild-card query behavior

2019-10-09 Thread Mikhail Khludnev
...\r\n ...\r\n ...\r\n > > ...\r\n ...\r\n\"[\" ...\r\n\"{\" ...\r\n > ...\r\n\"filter(\" ...\r\n ...\r\n", > "code":400}} > > When using the same query with parenthesis in filter query (fq), I get the > expected results. > > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: How to combine [child] and [subquery?]

2019-10-09 Thread Mikhail Khludnev
> They don't look too related to me and I can't seem to find any logical > reason why they couldn't coexist in the same query. > > b. > > > On Wed, Oct 9, 2019 at 1:08 PM Mikhail Khludnev wrote: > > > Hello, Bram. > > > > I guess [child] was recentl

Re: How to combine [child] and [subquery?]

2019-10-09 Thread Mikhail Khludnev
t; error. Is there a way to work around this? Or maybe > better: is there a way to make the [subquery] transformer behave like (a > more flexible version of) [child]? Because now, the path information (how > the children relate to their parent fields) is lost when using [subquery]. > > Hope to hear more! > > b. > -- Sincerely yours Mikhail Khludnev

Re: Wild-card query behavior

2019-10-09 Thread Mikhail Khludnev
orks well > > Why wild-card query does not work with {!join}? > > Regards, > Paresh > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: How to block expensive solr queries

2019-10-08 Thread Mikhail Khludnev
m to prevent the stats request from blocking other normal > queries. Is it possible to drop the request before solr executes it? maybe > at the jetty request filter? > > Thanks, > Wei > > On Mon, Oct 7, 2019 at 1:39 PM Mikhail Khludnev wrote: > > > Hello, Wei. >

Re: How to block expensive solr queries

2019-10-07 Thread Mikhail Khludnev
ased on url pattern? i.e. > ignore the stats.calcdistinct request in this case. > > > Thanks, > > Wei > -- Sincerely yours Mikhail Khludnev

Re: json.facet throws ClassCastException

2019-10-07 Thread Mikhail Khludnev
quot; parameter > (String instead of Map) > > Cheers, > Andrea > > On 04/10/2019 22:55, Mikhail Khludnev wrote: > > Gosh, obviously. see the clue > > > https://github.com/apache/lucene-solr/blob/7d3dcd220f92f25a997cf1559a91b6d9e1b57c6d/solr/core/src/java/org/apache/solr/

Re: backup strategy

2019-10-04 Thread Mikhail Khludnev
d sounds like downtime for a restore is unavoidable. > > So, how to properly restore? > > Kind regards, > Koen De Groote > -- Sincerely yours Mikhail Khludnev

Re: json.facet throws ClassCastException

2019-10-04 Thread Mikhail Khludnev
Pool$2.run(QueuedThreadPool.java:589)\n\tat > java.lang.Thread.run(Thread.java:748)\n", > > -Original Message- > From: Mikhail Khludnev > Sent: Friday, October 04, 2019 2:28 PM > To: solr-user > Subject: Re: json.facet throws ClassCastException > > Hello, Webste

Re: json.facet throws ClassCastException

2019-10-04 Thread Mikhail Khludnev
ransmitted > therewith. Click http://www.merckgroup.com/disclaimer to access the > German, French, Spanish and Portuguese versions of this disclaimer. > -- Sincerely yours Mikhail Khludnev

Re: Read timed out exception during Solr Full-import

2019-10-02 Thread Mikhail Khludnev
hreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) > at > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at java.lang.Thread.run(Thread.java:748) > > > > Please help me with the issue. Please let me know if you need additional > details. > > > > > -- > Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html > -- Sincerely yours Mikhail Khludnev

Re: Question regarding subqueries

2019-10-02 Thread Mikhail Khludnev
it. > > Any help? > > b. > <http://www.reinvention.be> *We do video technology* > Visit our new website! <http://www.reinvention.be> *Bram Biesbrouck* > bram.biesbro...@reinvention.be > +32 486 118280 <0032%20486%20118280> > -- Sincerely yours Mikhail Khludnev

  1   2   3   4   5   6   7   8   9   10   >