Re: Post-processing of Solr responses in Velocity templates by calling external Java methods

2018-01-25 Thread Emir Arnautović
Hi Ravi, It seems to me that you are trying to simulate some of highlighting features, but might be wrong. Can you explain your problem not the problem you run into with your solution. With what you explained, it seems to me that the easiest solution would be to have snippet field that is store

Re: Spellcheck collations results

2018-01-25 Thread alessandro.benedetti
Can you tell us the request parameters used for the spellcheck ? In particular are you using these ? (from the wiki) : " The *spellcheck.maxCollationTries* Parameter This parameter specifies the number of collation possibilities for Solr to try before giving up. Lower values ensure better perform

Re: Solr 7.2.1 - cursorMark and elevateIds

2018-01-25 Thread Rick Leir
Greg Does the CursorMark run correctly on its own, with no elevate? cheers -- Rick On 01/23/2018 08:36 PM, Greg Roodt wrote: Hi I'm trying to use the Query Eleveation Component in conjunction with CursorMark pagination. It doesn't seem to work. I get an exception. Are these components meant

Grouping on Exact Match

2018-01-25 Thread Gopesh Sharma
Hello All, I am grouping the results but the groups are not happening on the exact match. For Example : I have 5 documents with name Construction Company, Construction Tower, Tower Company, Tower House and again Construction Company. If I search for Construction Company with grouping I am getti

Re: Grouping on Exact Match

2018-01-25 Thread Emir Arnautović
Hi Gopesh, You are probably grouping on field that is analysed so “Consulting” is group term. What you need to do is to have name field that is not alalysed and group on that field. If you want to “group” on query input, that is not grouping - you simply use phrase query and all results are of t

RE: Grouping on Exact Match

2018-01-25 Thread Gopesh Sharma
Hello Emir, Thanks for the reply. So if I am using below field type for the field, that means its analyzed? Thanks, Gopesh Sharma -Original Message- From: Emir Arnautović [mailto:emir.arnauto...@s

Re: Grouping on Exact Match

2018-01-25 Thread Emir Arnautović
Hi Gopesh, No it is not - at least not in a way I was thinking. I should have been more precise - I meant tokenized. So you are grouping on the field that uses this field type? Can you share query? Thanks, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch C

RE: Grouping on Exact Match

2018-01-25 Thread Gopesh Sharma
Hello Emir, Service.Solr/partners/select/?wt=json&fq=-partnerProjectCount_num:0&bf=searchScore_num&sort=score+desc&q=Construction%20Company&group=true&group.field=partnerName_text_en&group.ngroups=true&group.limit=100&rows=50&start=0&indent=true I am using the above query. Thanks, Gopesh Sha

Re: Grouping on Exact Match

2018-01-25 Thread Emir Arnautović
Is it possible that this field used to be text_en field and later you changed it to string_lower but did not reindex. If you open schema explorer in your admin GUI, what tokens do you see for this field? Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Cons

Re: Solr 7.2.1 - cursorMark and elevateIds

2018-01-25 Thread Yonik Seeley
Yes, please open a JIRA issue. The elevate component modifies the sort parameter, and it looks like that doesn't play well with cursorMark, which needs to serialize/deserialize sort values. We can either fix the issue, or at a minimum provide a better error message if cursorMark is limited to sorti

Solr 4.8.1 multiple client updates the same collection

2018-01-25 Thread Vincenzo D'Amore
Hi All, I have few questions about SolrCloud and how could behave in an environment where there are more concurrent clients updating the same collection. We have a SolrCloud 4.8.1 collection that stores a catalog of millions of products (index size about 20GB). Actually there is only one SolrJ c

Required "cql solr query" for given "http api based json solr query"

2018-01-25 Thread Mahesh Gupta
Hi Team, can any one help me on writing equalent cql solr query of below "http api based json solr query" My Running json solr query: http://hostname:8983/solr/tablename/select?q=*%3A*&fq=pre_upgrade%3A%22yes%22&wt=json&indent=true&group:true,group.field:product_family Expecting : equal-ant

Re: Solr 4.8.1 multiple client updates the same collection

2018-01-25 Thread Shawn Heisey
On 1/25/2018 7:48 AM, Vincenzo D'Amore wrote: I have few questions about SolrCloud and how could behave in an environment where there are more concurrent clients updating the same collection. We have a SolrCloud 4.8.1 collection that stores a catalog of millions of products (index size about 20G

Re: Post-processing of Solr responses in Velocity templates by calling external Java methods

2018-01-25 Thread Erik Hatcher
Ravindra - So you have documents that represent *lines*, but for each line document you want to render the 3 lines (documents) before and after. Hmmm - tricky! Velocity itself isn’t going to help you here. You’ll need to do additional searches to get the “context documents”. Given tha

solr usage reporting

2018-01-25 Thread Becky Bonner
Hi all, We are in the process of replacing our Google Search Appliance with SOLR 7.1 and are needing one last piece of our requirements. We provide a monthly report to our business that shows the top 1000 query terms requested during the date range as well as the query terms requested that cont

Re: solr usage reporting

2018-01-25 Thread Shawn Heisey
On 1/25/2018 9:59 AM, Becky Bonner wrote: > We are in the process of replacing our Google Search Appliance with SOLR 7.1 > and are needing one last piece of our requirements. We provide a monthly > report to our business that shows the top 1000 query terms requested during > the date range as w

Re: solr usage reporting

2018-01-25 Thread Marco Reis
One way is to collect the log from your server and, then, use other tool to generate your report. On Thu, Jan 25, 2018 at 2:59 PM Becky Bonner wrote: > Hi all, > We are in the process of replacing our Google Search Appliance with SOLR > 7.1 and are needing one last piece of our requirements. W

RE: solr usage reporting

2018-01-25 Thread Becky Bonner
That would work for a single server but collecting the logs from the farm would be a problematic since we would have logs from all nodes and replicas from all the members of the farm. We would then need weed out what we are interested in and combine. It would be better if there were a way to qu

RE: LTR original score feature

2018-01-25 Thread Brian Yee
Thanks for the reply Alessandro. I'm starting to agree with you but I wanted to see if others agree. It seems to me that the original score feature is not useful because it is not normalized across all queries and therefore cannot be used to compare relevance in different queries. -Original

pf2

2018-01-25 Thread Rick Leir
Hi all My pf2 keywords^11.0 works for english not for french. Here are the fieldtypes, actually from two schema.xml's in separate cores. Solr 5.2.2, edismax, q.op AND I suspect there are several problems with the french schema. Maybe I only needed to show the query analyzer, not the index analy

CDCR - cross data center replication

2018-01-25 Thread Petersen, Robert (Contr)
Hi all, So for an initial CDCR setup documentation says bulk load should be performed first otherwise CDCR won't keep up. By bulk load does that include an ETL process doing rapid atomic updates one doc at a time (with multiple threads) so like 4K docs per minute assuming bandwidth between DCs

Re: [EXTERNAL] Highlighter is not working for wildcard query

2018-01-25 Thread David M Giannone
X07Z3BO14C confirmation# for 1/30 8:30 appt. oil change / tire rotation Sent via the Samsung Galaxy S® 6, an AT&T 4G LTE smartphone Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message. Confidentiali

Re: [EXTERNAL] Highlighter is not working for wildcard query

2018-01-25 Thread David M Giannone
uh...oops - sorry about that Sent via the Samsung Galaxy S® 6, an AT&T 4G LTE smartphone Original message From: David M Giannone Date: 1/25/18 8:28 PM (GMT-05:00) To: solr-user@lucene.apache.org Subject: Re: [EXTERNAL] Highlighter is not working for wildcard query X07Z3BO14

Re: Required "cql solr query" for given "http api based json solr query"

2018-01-25 Thread Shawn Heisey
On 1/25/2018 1:04 AM, Mahesh Gupta wrote: can any one help me on writing equalent cql solr query of below "http api based json solr query" CQL is a query language for Cassandra, not Solr. You'll need to talk to that project, not this one. CQL will not be involved with a Solr query, unless p