BlendedTermQuery for Solr?

2017-10-24 Thread James
On my Solr 6.6 server I'd like to use BlendedTermQuery. https://lucene.apache.org/core/6_6_0/core/org/apache/lucene/search/BlendedTe rmQuery.html I know it is a Lucene class. Is there a Solr API available to access it? If not, maybe some workaround? Thanks!

Re: Facets based on sampling

2017-10-24 Thread Toke Eskildsen
John Davis wrote: > 100M unique values might be across all docs, and unless the faceting > implementation is really naive I cannot see how that can come into play > when the query matches a fraction of those. Solr simple string faceting uses an int-array to hold counts for the different terms in

Re: Facets based on sampling

2017-10-24 Thread John Davis
On Tue, Oct 24, 2017 at 8:37 AM, Erick Erickson wrote: > bq: It is a bit surprising why facet computation > is so slow even when the query matches hundreds of docs. > > The number of terms in the field over all docs also comes into play. > Say you're faceting over a field that has 100,000,000 u

Some problems in SOLR-6.5.1

2017-10-24 Thread SOLR4189
Before two days we upgraded our SOLR servers from 4.10.1 version to 6.5.1. We explored logs and saw too many errors like: 1) org.apache.solr.common.SolrException; null:java.lang.NullPointerException at org.apache.solr.search.grouping.distributed.responseprocessor.StoredFieldsShardResponseProcess

Get Username within a plugin (Basic Authentication Plugin)

2017-10-24 Thread startrekfan
Hello, I have set up an solr server with the "Basic Authentication Plugin". Now I'd like to write a custom PostFilter(extends ExtendedQueryBase) plugin. Can you explain me how I can get the username of the authenticated user within my plugin? Thanks

Re: [ANNOUNCE] Apache Solr 5.5.5 released

2017-10-24 Thread Erick Erickson
Releasing something as far back as two major versions is rare, it's got to be something critical. In this case a security issue. It's only provided for people who are on 5x and cannot upgrade to other versions of Solr that have the fix already. Best, Erick On Tue, Oct 24, 2017 at 11:39 AM, Alexa

Re: [ANNOUNCE] Apache Solr 5.5.5 released

2017-10-24 Thread Alexandre Rafalovitch
Stay on Solr 7, that's the latest and greatest (well 7.1 is) 5.5.5 is a maintenance release due to the security issue. It is not just the tip of the spear, older releases sometimes get upgrades too. Regards, Alex http://www.solr-start.com/ - Resources for Solr users, new and experienced

Re: [ANNOUNCE] Apache Solr 5.5.5 released

2017-10-24 Thread Moenieb Davids
Hi Steve, I have just started with Solr 7.*, so I am a bit confused with 5.5.5, same with lucene. Also, the sites register versions 7.*, Apologies for my ignorance if I had missed anything or do not have a proper understanding of the version management Regards Moenieb On Tue, Oct 24, 2017 at 6:2

Re: Really slow facet performance in 6.6

2017-10-24 Thread Günter Hipler
have a look for more background information: https://issues.apache.org/jira/browse/SOLR-8096 it's not only related to version 6.6. It's a question of design since 5.x Günter On 23.10.2017 21:06, John Davis wrote: Hello, We are seeing really slow facet performance with new solr release. This

Re: [ANNOUNCE] Apache Solr 5.5.5 released

2017-10-24 Thread Moenieb Davids
Solr 5.5.5? On 24 Oct 2017 17:34, "Steve Rowe" wrote: > 24 October 2017, Apache Solr™ 5.5.5 available > > The Lucene PMC is pleased to announce the release of Apache Solr 5.5.5. > > Solr is the popular, blazing fast, open source NoSQL search platform from > the > Apache Lucene project. Its major

Re: NullPointer on Suggest Component running with multiple shards

2017-10-24 Thread Erick Erickson
Please follow the instructions here to unsubscrie: http://lucene.apache.org/solr/community.html#mailing-lists-irc. You must use the _exact_ same e-mail as you used to subscribe. If the initial try doesn't work and following the suggestions at the "problems" link doesn't work for you, let us know.

Re: Date range queries no longer work 6.6 to 7.1

2017-10-24 Thread Shawn Heisey
On 10/24/2017 9:38 AM, Markus Jelsma wrote: > We have switched back to 6.6 for now so we are fine for now. Although i > didn't try range queries other than date, i assume other Point fields can > also have this problem? > > That would mean completely switch back to Trie if you don't can/want to f

Re: Date range queries no longer work 6.6 to 7.1

2017-10-24 Thread Shawn Heisey
On 10/24/2017 9:25 AM, Markus Jelsma wrote: > No, we have not reindexed, we don't like to reindex one of our collections, > it is huge! > > Didn't know about a index migration tool, i have not seen it in the changelog. If you change the class on a field (in this case, probably Trie to Point), th

Re: NullPointer on Suggest Component running with multiple shards

2017-10-24 Thread Janaka Thilakarathna
unsubscribe On Tue, Oct 24, 2017 at 9:48 PM, wrote: > Hello everyone, > > I got a NullPointer-Exception running a select-SearchHandler with a > suggest component on multiple shards (cloud mode). > It does work in the same configuration with a single shard (or non-cloud > setup). > The suggest re

Re: Trouble Installing Solr 7.1.0 On Ubunti 17

2017-10-24 Thread Shawn Heisey
On 10/23/2017 9:11 PM, Dane Terrell wrote: > Hi I'm new to apache solr. I'm looking to install apache solr 7.1.0 on my > localhost computer. I downloaded and extracted the tar file in my tmp folder. > But when I try to run the script... sudo: > solr-7.1.0/solr/bin/install_solr_service.sh: comman

Re: [ANNOUNCE] Apache Solr 5.5.5 released

2017-10-24 Thread Steve Rowe
Yes. -- Steve www.lucidworks.com > On Oct 24, 2017, at 12:25 PM, Moenieb Davids wrote: > > Solr 5.5.5? > > On 24 Oct 2017 17:34, "Steve Rowe" wrote: > >> 24 October 2017, Apache Solr™ 5.5.5 available >> >> The Lucene PMC is pleased to announce the release of Apache Solr 5.5.5. >> >> Solr

NullPointer on Suggest Component running with multiple shards

2017-10-24 Thread mvogelsmeier
Hello everyone, I got a NullPointer-Exception running a select-SearchHandler with a suggest component on multiple shards (cloud mode). It does work in the same configuration with a single shard (or non-cloud setup). The suggest requestHandler does work in both setups. Exception: true 500

RE: LTR feature extraction performance issues

2017-10-24 Thread Brian Yee
Hi Alessandro, Unfortunately some of my most important features are query dependent. I think I found an issue though. I don't think my features are being inserted into the cache. Notice "cumulative_inserts:0". There are a lot of lookups, but since there appear to be no values in the cache, the

Re: Ways to weight SOLR search results without development

2017-10-24 Thread Charlie Hull
On 24/10/2017 14:40, Bryant, Eric wrote: Hi, Is there a way to boost certain Drupal nodes to show up higher in SOLR search without having to do development of introduce conditional scripts? For example, if a person does a search for "valuation services", our SOLR instance right now returns art

Re: Facets based on sampling

2017-10-24 Thread Erick Erickson
bq: It is a bit surprising why facet computation is so slow even when the query matches hundreds of docs. The number of terms in the field over all docs also comes into play. Say you're faceting over a field that has 100,000,000 unique values across all docs, that's a lot of bookkeeping. Best,

RE: Date range queries no longer work 6.6 to 7.1

2017-10-24 Thread Markus Jelsma
We have switched back to 6.6 for now so we are fine for now. Although i didn't try range queries other than date, i assume other Point fields can also have this problem? That would mean completely switch back to Trie if you don't can/want to fully reindex all data. Suggestions? A forceMerge at

[ANNOUNCE] Apache Solr 5.5.5 released

2017-10-24 Thread Steve Rowe
24 October 2017, Apache Solr™ 5.5.5 available The Lucene PMC is pleased to announce the release of Apache Solr 5.5.5. Solr is the popular, blazing fast, open source NoSQL search platform from the Apache Lucene project. Its major features include powerful full-text search, hit highlighting, fa

Re: SolrCloud not able to view cloud page - Loading of "/solr/zookeeper?wt=json" failed (HTTP-Status 500)

2017-10-24 Thread Erick Erickson
The mail server aggressively removes attachments and the like, you'll have to put it somewhere and provide a link. Did anything change in that time frame? Best, Erick On Tue, Oct 24, 2017 at 7:11 AM, Tarjono, C. A. wrote: > Hi All, > > > > Would like to check if anyone have seen this issue bef

Re: Date range queries no longer work 6.6 to 7.1

2017-10-24 Thread Erick Erickson
Assuming you haven't indexed new data, you can switch the field definitions back to the old types. I'm not totally sure the indexupgrade tool will fix this up, it'll do an optimize though which isn't always a good thing going forward. Best, Erick On Tue, Oct 24, 2017 at 8:25 AM, Markus Jelsma w

Re: Replacing legacyCloud Behaviour in Solr7

2017-10-24 Thread Erick Erickson
Yes, it looks like you're on track, good luck! On Mon, Oct 23, 2017 at 5:21 PM, Marko Babic wrote: > Thanks for the quick reply, Erick. > > To follow up: > > “ > Well, first you can explicitly set legacyCloud=true by using the > Collections API CLUSTERPROP command. I don't recommend this, min

RE: Date range queries no longer work 6.6 to 7.1

2017-10-24 Thread Markus Jelsma
No, we have not reindexed, we don't like to reindex one of our collections, it is huge! Didn't know about a index migration tool, i have not seen it in the changelog. Thanks, Markus -Original message- > From:alessandro.benedetti > Sent: Tuesday 24th October 2017 17:03 > To: solr-user

Solr-Edismax boost a property

2017-10-24 Thread ruby
I'm new to edismax query parser. Trying to figure out how to boost a specific field over a copy fields. I want to show all documents for which the *object_name* property contains the search string first and then list all documents which has the value in FTS_CopyField and finally show the document

Solr 6.6 - JSON Facet API - Unexpected counts returned for child focused facets

2017-10-24 Thread Damien Hawes
Suppose I have a set of documents that look likes this: [ { "id": "1", "post_time": "2017-10-24T13:00:00Z", "category": "information technology", "url": "https://www.mywebsite.com";, "blog_post": "solr", "is_root_document": true, "_childD

Re: Date range queries no longer work 6.6 to 7.1

2017-10-24 Thread alessandro.benedetti
I know it is obvious, but ... have you done a full re-indexing or you used the Index migration tool ? In the latter case, it could be a bug of the tool itself. - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- Sent from: h

Solr-Edismax boost a property

2017-10-24 Thread ruby
I'm new to edismax query parser. Trying to figure out how to boost a specific field over a copy fields. I want to show all documents for which the *object_name* property contains the search string first and then list all documents which has the value in FTS_CopyField and finally show the document

Get Username within a plugin (Basic Authentication Plugin)

2017-10-24 Thread startrekfan
Hello, I have set up an solr server with the "Basic Authentication Plugin". Now I'd like to write a custom PostFilter(extends ExtendedQueryBase) plugin. Can you explain me how I can get the username of the authenticated user within my plugin? Thanks

SolrCloud not able to view cloud page - Loading of "/solr/zookeeper?wt=json" failed (HTTP-Status 500)

2017-10-24 Thread Tarjono, C. A.
Hi All, Would like to check if anyone have seen this issue before, we started having this a few days ago: [cid:image003.jpg@01D34D14.FC34F4D0] The only error I can see in solr console is below: 5960847 [main-SendThread(172.16.130.132:2281)] WARN org.apache.zookeeper.ClientCnxn [ ] - Session 0x6

Ways to weight SOLR search results without development

2017-10-24 Thread Bryant, Eric
Hi, Is there a way to boost certain Drupal nodes to show up higher in SOLR search without having to do development of introduce conditional scripts? For example, if a person does a search for "valuation services", our SOLR instance right now returns articles sorted by frequency of keyword and d

Re: Trouble Installing Solr 7.1.0 On Ubunti 17

2017-10-24 Thread Dane Terrell
same error sudo solr-7.1.0/solr/bin/install_solr_service.sh /tmp/solr-7.1.0.tgz is what I'm using. I downloaded and extracted the tar file in my tmp folder.  Dane  On Monday, October 23, 2017 11:42 PM, Yasufumi Mizoguchi wrote: Hi, Maybe, you have a wrong path. Try below. $ sudo solr-7

Re: Retrieve DocIdSet from Query in lucene 5.x

2017-10-24 Thread David Smiley
See SolrIndexSearcher.getDocSet. It may not be identical to what you want but following what it does on through to DocSetUtil.createDocSet may be enlightening. On Fri, Oct 20, 2017 at 5:10 PM Jamie Johnson wrote: > I am trying to migrate some old code that used to retrieve DocIdSets from > filt

Date range queries no longer work 6.6 to 7.1

2017-10-24 Thread Markus Jelsma
Hello, We just attempted an upgrade which went fine so far. But now we have a problem, date range queries can no longer find records from before the upgrade, only records after the upgrade, it probably has something to do with DatePointField. To be clear, we upgraded our old date fields to the

Re: Accent insensitive search for greek characters

2017-10-24 Thread Chitra
Hi Alexandre, ICUTransformFilter is working fine for greek characters alone as per requirement. but one case it's breaking( σ & ς are the lower forms of Σ Sigma). *Example:* I indexed the terms πελάτης (indexed as πελατης) & πελάτηΣ (indexed as πελατης). I get the expected sea

Re: Solr nodes going into recovery mode and eventually failing

2017-10-24 Thread Emir Arnautović
Hi Shamik, Please see incline comments/questions. Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/ > On 24 Oct 2017, at 07:41, shamik wrote: > > Thanks Emir and Zisis. > > I added the maxRamMB for filte

Re: Stats component with function

2017-10-24 Thread Renuka Srishti
Hello All, I am exploring the functions and I think we can perform the above query if we extend "org.apache.solr.search.function" package to support all available functions. Are we planning to extend this package to support all funct

Re: Query Boosting and sort

2017-10-24 Thread Renuka Srishti
Sorry for late reply. Thanks Erick for the solution, you got my problem and the picture is right. I have resolved my problem with the similar approach you mentioned here. Regards, Renuka Srishti On Sat, Sep 9, 2017 at 11:45 PM, Erick Erickson wrote: > I'm a completely lost here. > > bq: "I have

Re: How to Efficiently Extract Learning to Rank Similarity Features From Solr?

2017-10-24 Thread alessandro.benedetti
i think this can be actually a good idea and I think that would require a new feature type implementation. Specifically I think you could leverage the existing data structures ( such TermVector) to calculate the matrix and then perform the calculations you need. Or maybe there is space for even a

Re: Facets based on sampling

2017-10-24 Thread Emir Arnautović
Hi John, Did you mean “docValues don’t work for analysed fields” since it works for multivalue string (or other supported types) fields. What you need to do is to convert your analysed field to multivalue string field - that requires changes in indexing flow. HTH, Emir -- Monitoring - Log Mana

Re: Solr deep paging queries run very slow due to redundant q param

2017-10-24 Thread Toke Eskildsen
On Sat, 2017-10-14 at 16:52 -0700, Sundeep T wrote: > In our scale environment, we see that the deep paging queries  using > cursormark are running really slow. When we traced out the calls, we > see that the second query which queries the individual id's of > matched pages is sending the q param t