Re: Solrj client 8.6.0 issue special characters in query

2020-08-07 Thread Chris Hostetter
: Hmm, setting -Dfile.encoding=UTF-8 solves the problem. I have to now check : which component of the application screws it up, but at the moment I do NOT : believe it is related to Solrj. You can use the "forbidden-apis" project to analyze your code and look for uses of APIs that depend on the

Re: Solrj client 8.6.0 issue special characters in query

2020-08-07 Thread Andy Webb
hi Jörn - something's decoding a UTF8 sequence using the legacy iso-8859-1 character set: Jörn is J%C3%B6rn in UTF8 J%C3%B6rn misinterpreted as iso-8859-1 is Jörn Jörn is J%C3%83%C2%B6rn in UTF8 I hope this helps track down the problem! Andy On Fri, 7 Aug 2020 at 12:08, Jörn Franke wrote: >

Re: Solrj client 8.6.0 issue special characters in query

2020-08-07 Thread Jörn Franke
Hmm, setting -Dfile.encoding=UTF-8 solves the problem. I have to now check which component of the application screws it up, but at the moment I do NOT believe it is related to Solrj. On Fri, Aug 7, 2020 at 11:53 AM Jörn Franke wrote: > Dear all, > > I have the following issues. I have a Solrj Cl

Solrj client 8.6.0 issue special characters in query

2020-08-07 Thread Jörn Franke
Dear all, I have the following issues. I have a Solrj Client 8.6 (but it happens also in previous versions), where I execute, for example, the following query: Jörn If I look into Solr Admin UI it finds all the right results. If I use Solrj client then it does not find anything. Further, investi

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

2020-05-18 Thread vishal patel
Any one is looking my issue? Due to this issue I can not upgrade Solr 8.3.0. regards, Vishal Patel From: vishal patel Sent: Sunday, May 17, 2020 11:49 AM To: solr-user Subject: Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1 Solr 6.1.0 : 1881

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

2020-05-16 Thread vishal patel
From: vishal patel Sent: Sunday, May 17, 2020 11:04 AM To: solr-user Subject: Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1 Thanks for reply. I know Query field value is large. But same thing is working fine in Solr 6.1.0 and query executed within 300 milliseconds

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

2020-05-16 Thread vishal patel
Patel From: Mikhail Khludnev Sent: Saturday, May 16, 2020 6:55 PM To: solr-user Subject: Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1 It seems this thread is doing heavy work, mind the bottom line. 202.8013ms 124.8008ms qtp153245266-156 (156

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

2020-05-16 Thread Mikhail Khludnev
t; Vishal Patel > > From: Mikhail Khludnev > Sent: Saturday, May 16, 2020 2:23 PM > To: solr-user > Subject: Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1 > > Can you check Thread Dump in Solr Admin while Solr 8.3 crunches

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

2020-05-16 Thread vishal patel
. Regards, Vishal Patel From: Mikhail Khludnev Sent: Saturday, May 16, 2020 2:23 PM To: solr-user Subject: Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1 Can you check Thread Dump in Solr Admin while Solr 8.3 crunches query for 34 seconds? Please

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

2020-05-16 Thread Mikhail Khludnev
t from Outlook<http://aka.ms/weboutlook> > > From: vishal patel > Sent: Friday, May 15, 2020 3:06 PM > To: solr-user@lucene.apache.org > Subject: Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1 > > I have result of query

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

2020-05-16 Thread vishal patel
Any one is looking my issue? Please help me. Sent from Outlook<http://aka.ms/weboutlook> From: vishal patel Sent: Friday, May 15, 2020 3:06 PM To: solr-user@lucene.apache.org Subject: Re: Performance issue in Query execution in Solr 8.3.0 and 8.5.1

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

2020-05-15 Thread vishal patel
. I found score=1.0 in result of Solr 8.3.0 and score=0.016147947 in result of Solr 8.6.1. Is there any impact of score in query execution? why is score=1.0 in result of Solr 8.3.0? Regards, Vishal Patel From: vishal patel Sent: Thursday, May 14, 2020 7:39 PM To

Performance issue in Query execution in Solr 8.3.0 and 8.5.1

2020-05-14 Thread vishal patel
I am upgrading Solr 6.1.0 to Solr 8.3.0 or Solr 8.5.1. I get performance issue for query execution in Solr 8.3.0 or Solr 8.5.1 when values of one field is large in query and group field is apply. My Solr URL : https://drive.google.com/file/d/1UqFE8I6M451Z1wWAu5_C1dzqYEOGjuH2/view My Solr

Re: Best practices to return total records vs total filtered records in query?

2020-03-24 Thread Erick Erickson
I’m not sure I get the problem. How do you “filter the records and only display those that match the filter string”? Do you attach an fq clause to the original query? If so, the return set _is_ the number of docs that match the filter (and the original query), and the numFound from the original

Best practices to return total records vs total filtered records in query?

2020-03-24 Thread Todd Stevenson
I have a use case that I would think is a common one but I cannot find any help with this use case. I am wanting to do a query that returns a list of records that I will display in an html table in an app. This table only displays n records of the complete data set, but is able to page through

Scoring to Synonym in query

2019-06-10 Thread Rathor, Piyush
Hi Team Do we have a mechanism to provide score in query for synonym search. My synonym field is called - "First_syn" Thanks This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you a

Re: questions regrading stored fields role in query time

2019-02-26 Thread Erick Erickson
It Depends (tm). See: SOLR-12598 for details. The short form is that as of Solr 7.5, Solr attempts to do the most efficient thing possible when fetching fields to return to the client. 1> if all requested fields are docValues, return from docValues. 2> if _any_ field is stored, return from the

Re: questions regrading stored fields role in query time

2019-02-26 Thread Shawn Heisey
On 2/26/2019 1:34 AM, Saurabh Sharma wrote: Now we want to do partial updates.I went through the documentation and found that all the fields should be stored or docValues for partial updates. I have few questions regarding this? 1) In case i am just fetching only 1 field while making query.What

Re: questions regrading stored fields role in query time

2019-02-26 Thread Emir Arnautović
Hi Saurabh, DocValues can be used for retrieving field values (note that order will not be preserved in case of multivalue field) but they are also stored in files, just different structures. Doc values will load some structure in memory, but will also use memory mapped files to access values (n

Re: questions regrading stored fields role in query time

2019-02-26 Thread Saurabh Sharma
Hi Emir, I had this question in my mind if I store my only returnable field as docValue in RAM.will my stored documents be referenced while constructing the response after the query. Ideally, as the field asked to return i.e fl is already in RAM then documents on disk should not be consulted for t

Re: questions regrading stored fields role in query time

2019-02-26 Thread Emir Arnautović
Hi Saurabh, Welcome to the channel! Storing fields should not affect query performances directly if you use lazy field loading and it is the default set. And it should not affect at all if you have enough RAM compared to index size. Otherwise OS caches might be affected by stored fields. The bes

questions regrading stored fields role in query time

2019-02-26 Thread Saurabh Sharma
Hi All , I am new here on this channel. Few days back we upgraded our solr cloud to version 7.3 and doing real-time document posting with 15 seconds soft commit and 2 minutes hard commit time.As of now we posting full document to solr which includes data accumulations from various sources. Now w

Re: Nested Child document doesn't return in query

2018-12-27 Thread Mikhail Khludnev
it might be checked with explainOther request param On Mon, Dec 17, 2018 at 9:08 PM Stephon Harris < shar...@enterprise-knowledge.com> wrote: > I ingested some nested documents into a Solr 7.4 core . When I search with > the following it's not returning a child document that I expected: > > > > `

Re: Not able to see newly added filed in query results

2018-12-25 Thread Erick Erickson
13 PM > To: solr-user@lucene.apache.org > Subject: RE: Not able to see newly added filed in query results > > In order to see newly added fields you have to reindex. > If there were any mistakes while reindexing they should appear in the log > file. > No clues in the kog? >

RE: Not able to see newly added filed in query results

2018-12-25 Thread Surender Reddy
HI Vadim, I don't see any error while indexing. Why the index row is not available for the schema filed that is missing? Thanks, Surender. From: Vadim Ivanov Sent: Tuesday, December 25, 2018 2:13 PM To: solr-user@lucene.apache.org Subject: RE: Not able to see newly added filed in

RE: Not able to see newly added filed in query results

2018-12-25 Thread Vadim Ivanov
@lucene.apache.org Subject: Not able to see newly added filed in query results Hi Experts, I am not able to see the newly added filed(allJobReqIds) in search results. From the Solr Admin UI, I don't see any indexed records count . Address is the one that I am seeing data and allJobReqIds whi

Nested Child document doesn't return in query

2018-12-17 Thread Stephon Harris
I ingested some nested documents into a Solr 7.4 core . When I search with the following it's not returning a child document that I expected: ``` {!child of=cont_type:overview}id:2 ``` I can see that the document I'm looking for exists with the query: ``` q=id:2-1 ``` I'm wondering

Re: Special character (&) search in query not working

2018-07-15 Thread shruti suri
I am using rest query, so can't encode the query. - Regards Shruti -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Special character (&) search in query not working

2018-07-13 Thread Gurdeep Singh
Replace & with %26 and try. > On 13 Jul 2018, at 8:54 PM, shruti suri wrote: > > Hi, > > I have Special character(&) in my index and when I am searching for some > value with ampersand, the search breaks. > > query term : "Travel Marketing & Finance" > > *FieldType* > > autoGeneratePhras

Special character (&) search in query not working

2018-07-13 Thread shruti suri
Hi, I have Special character(&) in my index and when I am searching for some value with ampersand, the search breaks. query term : "Travel Marketing & Finance" *FieldType*

Re: No inserts in Query Result Cache

2018-01-24 Thread rubi.hali
Did some further digging and found that as grouping is enabled query result cache is not having any inserts . Only disabling grouping adds an entry in query result cache. Is there a way we can cache grouped results because as per wiki there is parameter group.cache.percent but then again it doesnt

No inserts in Query Result Cache

2018-01-24 Thread Rubi Hali
you please help in explaining why there are no jnserts in query redult cache even though there are repetitive queries

Re: mm is not working if you have same term multiple times in query

2017-10-05 Thread Chris Hostetter
=dismax&qf=name&indent=on&mm=100%25&q=lock%20lock&wt=json : then it is returning both results but it should return only Doc 2 as no of : frequency is 2 in query while doc1 has frequency of 1 (lock term frequency). There's a couple of misconceptions here... first off: &quo

Re: mm is not working if you have same term multiple times in query

2017-09-22 Thread Aman Deep Singh
> search term then mm param is not honoured >>> >>> I have 2 docs in index >>> Doc1- >>> name=lock >>> Doc 2- >>> name=lock lock >>> >>> Now when i'm quering the solr with query >>> * >> http://localhost:8

Re: mm is not working if you have same term multiple times in query

2017-09-22 Thread Emir Arnautović
solr with query >>> * >> http://localhost:8983/solr/test2/select?defType=dismax&qf=name&indent=on&mm=100%25&q=lock%20lock&wt=json >>> < >> http://localhost:8983/solr/test2/select?defType=dismax&qf=name&indent

Re: mm is not working if you have same term multiple times in query

2017-09-22 Thread Aman Deep Singh
;qf=name&indent=on&mm=100%25&q=lock%20lock&wt=json > > < > http://localhost:8983/solr/test2/select?defType=dismax&qf=name&indent=on&mm=100%25&q=lock%20lock&wt=json > >* > > then it is returning both results but it should return only Doc 2 as

Re: mm is not working if you have same term multiple times in query

2017-09-22 Thread Emir Arnautović
=dismax&qf=name&indent=on&mm=100%25&q=lock%20lock&wt=json > <http://localhost:8983/solr/test2/select?defType=dismax&qf=name&indent=on&mm=100%25&q=lock%20lock&wt=json>* > then it is returning both results but it should return only Doc 2 as no of > f

mm is not working if you have same term multiple times in query

2017-09-22 Thread Aman Deep Singh
e&indent=on&mm=100%25&q=lock%20lock&wt=json <http://localhost:8983/solr/test2/select?defType=dismax&qf=name&indent=on&mm=100%25&q=lock%20lock&wt=json>* then it is returning both results but it should return only Doc 2 as no of frequency is 2 in query while

Re: generate field name in query

2017-09-13 Thread Hendrik Haddorp
You should be able to just use price_owner_float:[100 TO 200] OR price_customer_float:[100 TO 200] If the document doesn't have the field the condition is false. On 12.09.2017 23:14, xdzgor1 wrote: Rick Leir-2 wrote Peter The common setup is to use copyfield from all your fields into a 'grab

Re: generate field name in query

2017-09-13 Thread xdzgor1
Rick Leir-2 wrote > Peter > The common setup is to use copyfield from all your fields into a 'grab > bag' containing everything, and then to search on it alone. Cheers -- Rick > > On August 2, 2017 7:31:10 AM EDT, Peter Kirk < > pk@ > > wrote: >>Hi - is it possible to create a query (or fq) whic

Re: generate field name in query

2017-08-02 Thread Rick Leir
Peter The common setup is to use copyfield from all your fields into a 'grab bag' containing everything, and then to search on it alone. Cheers -- Rick On August 2, 2017 7:31:10 AM EDT, Peter Kirk wrote: >Hi - is it possible to create a query (or fq) which generates the field >to search on, base

generate field name in query

2017-08-02 Thread Peter Kirk
Hi - is it possible to create a query (or fq) which generates the field to search on, based on whether or not the document has that field? Eg. Search for documents with prices in the range 100 - 200, using either the field "price_owner_float" or "price_customer_float" (if a document has a field

Re: Give boost only if entire value is present in Query

2017-06-20 Thread Aman Deep Singh
not applied ? > I would recommend to simply the request handler, maybe just introducing a > piece step by step and verifying you are getting what you want. > > Regards > > > > - > --- > Alessandro Benedetti > Search Consultant, R&D Software Engineer, D

Re: Give boost only if entire value is present in Query

2017-06-20 Thread alessandro.benedetti
ive-boost-only-if-entire-value-is-present-in-Query-tp4341714p4341951.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Give boost only if entire value is present in Query

2017-06-19 Thread Aman Deep Singh
the-old-albino- >elephant-prob-td4327440.html > > > >- >--- >Alessandro Benedetti >Search Consultant, R&D Software Engineer, Director >Sease Ltd. - www.sease.io >-- >View this message in context: http://lucene.472066.n3. >nabble.com/Give-boo

Re: Give boost only if entire value is present in Query

2017-06-19 Thread Rick Leir
of- >not-splitting-on-whitespace-in-edismax-the-old-albino- >elephant-prob-td4327440.html > > > >- >--- >Alessandro Benedetti >Search Consultant, R&D Software Engineer, Director >Sease Ltd. - www.sease.io >-- >View this message in context: http

Re: Give boost only if entire value is present in Query

2017-06-19 Thread Aman Deep Singh
ease.io -- View this message in context: http://lucene.472066.n3. nabble.com/Give-boost-only-if-entire-value-is-present-in- Query-tp4341714p4341735.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Give boost only if entire value is present in Query

2017-06-19 Thread Aman Deep Singh
Yes Susheel , I know that more token matched gives more weight but in my case if entire match I want around x times boost but in case of partial match I want to give nominal boost or normal boost, Now in case of keyword token ziet or phrase query they work if and only if the user query is exactly m

Re: Give boost only if entire value is present in Query

2017-06-19 Thread alessandro.benedetti
&D Software Engineer, Director Sease Ltd. - www.sease.io -- View this message in context: http://lucene.472066.n3.nabble.com/Give-boost-only-if-entire-value-is-present-in-Query-tp4341714p4341735.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Give boost only if entire value is present in Query

2017-06-19 Thread Susheel Kumar
In general, the documents which has more or all terms matched against query terms will be boosted higher per lucene tf/idf scoring. So for document having ABC DEF queries like ABC DEF XYZ or XYZ ABC DEF will find a match(assuming q.op=AND) and will be boosted higher compare to documents with ABC

Give boost only if entire value is present in Query

2017-06-19 Thread Aman Deep Singh
Hi, I have a problem ,I need to give the boost to a particular field if and only if the query contains entire field value (String contains like feature). e.g. if Field value is ABC DEF It should match if user query is like ABC DEF XYZ or XYZ ABC DEF, But it should not match when user query is like

Re: analysis matches aren't counting as matches in query

2017-03-17 Thread Erick Erickson
The most common issue here is that the query isn't being parsed like you think it is. The simplest is that the query has spaces somewhere. I.e. "q=f1:a b" gets parsed as q=f1:a default_field:b The analysis page (which I assume you're talking about) tells you what happens _after_ the query is pars

analysis matches aren't counting as matches in query

2017-03-17 Thread John Blythe
hi all, i'm having a hard time w understanding why i'm not getting hits on a manufacturer field that i recently updated. i get the following results, the top row being the index analysis and the second the query. RDTF mentor advanced sterilize RDTF mentor advanced sterilize yet when the value

RE: Synonyms in query time, configured as managed resouces

2016-12-26 Thread Daniel Moura
configuration, this is well defined? I tested it without errors. But... How can I know (or have sure) that my managed synonyms are being used in query time? How to test it? How to validate it? Regards, Daniel Moura -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: 26

Re: Synonyms in query time, configured as managed resouces

2016-12-26 Thread Erick Erickson
What happens when you test it? Are you getting some kind of error? Best, Erick On Mon, Dec 26, 2016 at 7:19 AM, Daniel Moura wrote: > Hi all! > > I will need your help guys. > > We now need to know if the following definition is correct to have synonyms > in query time

Synonyms in query time, configured as managed resouces

2016-12-26 Thread Daniel Moura
Hi all! I will need your help guys. We now need to know if the following definition is correct to have synonyms in query time and configured as managed resources, for the watson_text type that is the type used to indexed fields. Thank you, I'll wait your answer

Re: Solr on HDFS: increase in query time with increase in data

2016-12-16 Thread Shawn Heisey
On 12/16/2016 11:58 AM, Chetas Joshi wrote: > How different the index data caching mechanism is for the Streaming > API from the cursor approach? Solr and Lucene do not handle that caching. Systems external to Solr (like the OS, or HDFS) handle the caching. The cache effectiveness will be a comb

Re: Solr on HDFS: increase in query time with increase in data

2016-12-16 Thread Chetas Joshi
the Solr machines. > > > I am using cursor approach (/export handler) using SolrJ client to get > back > > results from Solr. All the fields I am querying on and all the fields > that > > I get back from Solr are indexed and have docValues enabled as well. What > >

Re: Solr on HDFS: increase in query time with increase in data

2016-12-16 Thread Shawn Heisey
e fields that > I get back from Solr are indexed and have docValues enabled as well. What > could be the reason behind increase in query time? If actual disk access is required to satisfy a query, Solr is going to be slow. Caching is absolutely required for good performance. If your query times

Re: Solr on HDFS: increase in query time with increase in data

2016-12-16 Thread Piyush Kunal
> > results from Solr. All the fields I am querying on and all the fields > that > > I get back from Solr are indexed and have docValues enabled as well. What > > could be the reason behind increase in query time? > > > > Has this got something to do with the OS

Re: Solr on HDFS: increase in query time with increase in data

2016-12-15 Thread Reth RM
gt; results from Solr. All the fields I am querying on and all the fields that > I get back from Solr are indexed and have docValues enabled as well. What > could be the reason behind increase in query time? > > Has this got something to do with the OS disk cache that is used for >

Solr on HDFS: increase in query time with increase in data

2016-12-14 Thread Chetas Joshi
behind increase in query time? Has this got something to do with the OS disk cache that is used for loading the Solr indices? When a query is fired, will Solr wait for all (70GB) of disk cache being available so that it can load the index file? Thnaks!

Re: How using fl in query affects query time

2016-09-01 Thread kshitij tyagi
reduce query time?? > > > > or getting all the fields through query and getting one field using fl in > > query both will have same query time?? >

Re: How using fl in query affects query time

2016-09-01 Thread Alexandre Rafalovitch
fields in single document. I want to know that if I > use fl and get only single field from query will that reduce query time?? > > or getting all the fields through query and getting one field using fl in > query both will have same query time??

How using fl in query affects query time

2016-09-01 Thread kshitij tyagi
Hi, I am having around 100 fields in single document. I want to know that if I use fl and get only single field from query will that reduce query time?? or getting all the fields through query and getting one field using fl in query both will have same query time??

Re: Passing Ids in query takes more time

2016-05-08 Thread Bhaumik Joshi
Thanks Jeff. TermsQueryParser worked for me. Thanks & Regards, Bhaumik Joshi From: Jeff Wartes Sent: Thursday, May 5, 2016 8:19 AM To: solr-user@lucene.apache.org Subject: Re: Passing Ids in query takes more time An ID lookup is a very simple and

Re: Passing IDs in query takes more time

2016-05-08 Thread Bhaumik Joshi
Thanks Erick. TermsQueryParser worked for me. Thanks & Regards, Bhaumik Joshi From: Erick Erickson Sent: Friday, May 6, 2016 10:00 AM To: solr-user Subject: Re: Passing IDs in query takes more time Well, you're parsing 80K IDs and forming th

Re: Passing IDs in query takes more time

2016-05-06 Thread Erick Erickson
Well, you're parsing 80K IDs and forming them into a query. Consider what has to happen. Even in the very best case of the being evaluated first, for every doc that satisfies that clause the inverted index must be examined 80,000 times to see if that doc matches one of the IDs in your huge clause

Re: Passing Ids in query takes more time

2016-05-05 Thread Jeff Wartes
An ID lookup is a very simple and fast query, for one ID. Or’ing a lookup for 80k ids though is basically 80k searches as far as Solr is concerned, so it’s not altogether surprising that it takes a while. Your complaint seems to be that the query planner doesn’t know in advance that should be

Passing Ids in query takes more time

2016-05-05 Thread Bhaumik Joshi
Hi, I am retrieving ids from collection1 based on some query and passing those ids as a query to collection2 so the query to collection2 which contains ids in it takes much more time compare to normal query. Que. 1 - While passing ids to query why it takes more time compare to normal query h

Passing IDs in query takes more time

2016-05-05 Thread Bhaumik Joshi
Hi, I am retrieving ids from collection1 based on some query and passing those ids as a query to collection2 so the query to collection2 which contains ids in it takes much more time compare to normal query. Que. 1 - While passing ids to query why it takes more time compare to normal query h

Re: Difference in query behavior.

2015-11-30 Thread Modassar Ather
gt; you stopped using that? >>> >>> Cheers, >>> >>> Tim >>> >>> -Original Message- >>> From: Modassar Ather [mailto:modather1...@gmail.com] >>> Sent: Monday, November 30, 2015 5:46 AM >>> To: solr-user@luce

Re: Difference in query behavior.

2015-11-30 Thread Jack Krupansky
bset of result of query 1 by > query 2. > I understand if I put +/AND in between the clauses it will work but the > same is not required in query one. > Is there a way I can group the clauses which ensures that the first clause > and the terms of other clause all should match as

Re: Difference in query behavior.

2015-11-30 Thread Alexandre Rafalovitch
On 30 November 2015 at 05:45, Modassar Ather wrote: > > I have a query title:(solr lucene api). The mm is set to 100% using q.op as > +(title:solr **title:faceting** title:api)~3 Does it though? solr lucene api => solr faceting api! Is it possible you are staring at the wrong tab and the counts

Re: Difference in query behavior.

2015-11-30 Thread Upayavira
. > In first query there are 3 clauses which has SHOULD occur in between > terms > but due to 100% mm all terms are matched. > > Kindly help me understand how I can get the subset of result of query 1 > by > query 2. > I understand if I put +/AND in between the clauses it will wo

Difference in query behavior.

2015-11-30 Thread Modassar Ather
it will work but the same is not required in query one. Is there a way I can group the clauses which ensures that the first clause and the terms of other clause all should match as in the query first all the clauses are matched. Also let me know how ~ is different from phrase slop in the case of

Bug in query elevation transformers SOLR-7953

2015-08-20 Thread Ryan Josal
Hey guys, I just logged this bug and I wanted to raise awareness. If you use the QueryElevationComponent, and ask for fl=[elevated], you'll get only false if solr is using LazyDocuments. This looks even stranger when you request exclusive=true and you only get back elevated documents, and they al

Re: 'Illegal character in query' on Solr cloud 4.10.1

2014-12-25 Thread S.L
gt; > >> whether the sub-queries even make it to Solr or whether the problem > > >> is in your container. > > >> > > >> 3> If the sub-queries do NOT make it to the Solr logs, what is the > query > > >> that the container sees? Is i

Re: 'Illegal character in query' on Solr cloud 4.10.1

2014-12-24 Thread Jack Krupansky
>> is in your container. > >> > >> 3> If the sub-queries do NOT make it to the Solr logs, what is the query > >> that the container sees? Is it recognizable or has Solr somehow munged > >> the sub-query? > >> > >> What is your environment

Re: 'Illegal character in query' on Solr cloud 4.10.1

2014-12-24 Thread Yonik Seeley
On Wed, Dec 24, 2014 at 4:32 PM, Erick Erickson wrote: > OK, then I don't think it's a Solr problem. I think 5 of your Tomcats are > configured in such a way that they consider ^ to be an illegal character. Hmmm, the stack trace in SOLR-5971 shows a different user (who gets the same error message

Re: 'Illegal character in query' on Solr cloud 4.10.1

2014-12-24 Thread Erick Erickson
hat JVM >> etc? >> >> Best, >> Erick >> >> On Tue, Dec 23, 2014 at 3:23 AM, S.L wrote: >> > Hi All, >> > >> > I am using SolrCloud 4.10.1 and I have 3 shards with replication factor >> of >> > 2 , i.e is 6 nodes altogether. &g

Re: 'Illegal character in query' on Solr cloud 4.10.1

2014-12-24 Thread S.L
ave 3 shards with replication factor > of > > 2 , i.e is 6 nodes altogether. > > > > When I query the server1 out of 6 nodes in the cluster with the below > query > > , it works fine , but any other node in the cluster when queried with the > > same query results in a *

Re: 'Illegal character in query' on Solr cloud 4.10.1

2014-12-23 Thread Erick Erickson
it works fine , but any other node in the cluster when queried with the > same query results in a *HTTP Status 500 - {msg=Illegal character in query > at index 181:* > error. > > The character at index 181 is the boost character ^. I have see a Jira > SOLR-5971 <https://i

'Illegal character in query' on Solr cloud 4.10.1

2014-12-23 Thread S.L
Status 500 - {msg=Illegal character in query at index 181:* error. The character at index 181 is the boost character ^. I have see a Jira SOLR-5971 <https://issues.apache.org/jira/browse/SOLR-5971> for a similar issue , how can I overcome this issue. The query I use is below. Thanks in A

Re: How can I pass in query request parameter at search time and know of it in my query analyzer/tokenizer?

2014-10-15 Thread Ilia Sretenskii
You can implement your own kind of SeachHandler to pass your custom request parameters to keep the common parameters clean. http://svn.apache.org/repos/asf/lucene/dev/trunk/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java As you can see, the SearchHandler.handleRequestBody()

How can I pass in query request parameter at search time and know of it in my query analyzer/tokenizer?

2014-09-30 Thread Michael
Hi all, I'm using Solr 4.7.2 to implement multilingual search in my application. I have a need to pass in query locale on search request and to choose between custom tokenizers dynamically based on provided locale value. In Solr In Action - Chapter 14 (Multilingual Search), Listing

Re: multiple terms order in query - eDismax

2014-09-29 Thread Jack Krupansky
tiple terms order in query - eDismax pf and ps merely control boosting of documents, not selection of documents. mm controls selection of documents. So, hopefully at least doc3 is returned before doc2. -- Jack Krupansky From: Tomer Levi Sent: Sunday, September 28, 2014 5:39 AM To: solr

RE: multiple terms order in query - eDismax

2014-09-28 Thread Tomer Levi
order in query - eDismax pf and ps merely control boosting of documents, not selection of documents. mm controls selection of documents. So, hopefully at least doc3 is returned before doc2. -- Jack Krupansky From: Tomer Levi Sent: Sunday, September 28, 2014 5:39 AM To: solr-user@lucene.apache.org

Re: multiple terms order in query - eDismax

2014-09-28 Thread Jack Krupansky
terms order in query - eDismax Hi, We have an index with 3 documents, each document contains a single field let’s call it ‘text’ (except the id) as below: · Doc1 o text:home garden sky sea wolf · Doc2 o text:home wolf sea garden sky · Doc3 o text:wolf sea

multiple terms order in query - eDismax

2014-09-28 Thread Tomer Levi
Hi, We have an index with 3 documents, each document contains a single field let's call it 'text' (except the id) as below: * Doc1 o text:home garden sky sea wolf * Doc2 o text:home wolf sea garden sky * Doc3 o text:wolf sea home garden sky When executing the q

Re: Using wild characters in query doesn't work with my configuraiton

2014-08-28 Thread Erick Erickson
OK, Do not, repeat NOT use different tokenizers at index and query time unless you are _very_ sure that you know exactly what the consequences are. Take a look at the admin/analyzer page for the field in question and put your values in. You'll see that what's in your index is very different than w

Using wild characters in query doesn't work with my configuraiton

2014-08-27 Thread Romain Pigeyre
Hi, I have a little mistake using Solr : I can query this : "lastName:HK+IE" The result contains the next record : { "customerId": "0003500226598", "countryLibelle": "HONG KONG", "firstName1": "lC /o", "countryCode": "HK", "address1": " 1F0/", "address2": "11-35", " storeId": "100", "lastName1":

Re: Highlights in Query response

2014-06-16 Thread Ahmet Arslan
Hi, Here is the open ticket opened by Hoss for your need : https://issues.apache.org/jira/browse/SOLR-3479 Please vote and watch it. Ahmet On Monday, June 16, 2014 3:11 PM, Venkata krishna wrote: Hi, Is there any option for to integrate highlights in query response instead of showing query

Highlights in Query response

2014-06-16 Thread Venkata krishna
Hi, Is there any option for to integrate highlights in query response instead of showing query response and highlighted snippets separately? if possible then could you please provide an example or sample code for showing highlights in query response. Thanks, Venkata krishna Tolusuri

underscore in query error

2014-03-19 Thread Andreas Owen
If I use the underscore in the query I don't get any results. If I remove the underscore it finds the docs with underscore. Can I tell solr to search through the ngtf instead of the wdf or is there any better solution? Query: yh_cug I attached a doc with the analyzer output

Re: underscore in query error

2014-03-19 Thread Erick Erickson
Attachments don't come through the user list very well, you might have to put it up on pastebin or some such and provide a link. But my guess is that your analysis chain is doing something interesting you don't expect, the analyzer output you tried to paste would help here. Also, if you could pro

Re: Solr Autosuggest - Strange issue with leading numbers in query

2014-03-14 Thread bbi123
cid&req_type=auto_complete&spellcheck.collate=false&q=11123423432423243ip 0 0 2 *17* 19 ipad iphone -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Autosuggest-Strange-issue-with-leading-numbers-in-query-tp4116751p4123702.html Sent from the Solr - User

use local params in query

2014-03-11 Thread Andreas Owen
Shouldn't the numbers be in the output below (parsed_filter_queries) and not $r and $org? This works great but i would like to use lacal params "r" and "org" instead of hard-coded (*:* -organisations:[* TO *] -roles:[* TO *]) (+organisations:(150 42) +roles:(174 72)) I wo

Re: SEVERE: org.apache.solr.common.SolrException: no field name specified in query and no default specified via 'df' param

2014-03-05 Thread Erick Erickson
> 3 > > > > >spellcheck >manifoldCFSecurity > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/SEVERE-org-apache-solr-common-SolrException-no-field-name-specified-in-query-and-no-default-specifiem-tp4120789p4121502.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: SEVERE: org.apache.solr.common.SolrException: no field name specified in query and no default specified via 'df' param

2014-03-05 Thread eShard
ssage in context: http://lucene.472066.n3.nabble.com/SEVERE-org-apache-solr-common-SolrException-no-field-name-specified-in-query-and-no-default-specifiem-tp4120789p4121502.html Sent from the Solr - User mailing list archive at Nabble.com.

  1   2   3   >