Re: Poll: Master-Slave or SolrCloud?

2017-04-24 Thread Erick Erickson
Otis: bq: But it doesn't really matter so much whether people are the same or not I'm going to gently disagree here. I regularly see questions on the user's list about upgrading from 4.x or 3.x (!). So if the sample of users responding to your poll are substantially the same users as responded

Re: Poll: Master-Slave or SolrCloud?

2017-04-24 Thread Otis Gospodnetić
Hi, I think it's roughly the same profile of people. The poll from 2013 was on Sematext blog and the new one is on Sematext Twitter account. But it doesn't really matter so much whether people are the same or not. What amazes me that in 2017 we don't see a lot more SolrCloud users! Otis --

Re: Troubleshooting solr errors

2017-04-24 Thread Rick Leir
Daniel, Would it be too much trouble to get some text out of that particular email message, and try it in the Solr Admin Analysis tool? By the way, I also have my email in Dovecot. Would you be able to describe how you index it and how you query to find an email? Perhaps with scripts in a

Re: Poll: Master-Slave or SolrCloud?

2017-04-24 Thread Erick Erickson
Yeah, this is kind of counter to my expectations too. I guess my question is whether the same people are responding to the new survey as the old one. "If it ain't broke" and all that. Erick On Mon, Apr 24, 2017 at 7:58 AM, Otis Gospodnetić wrote: > Hi, > > I'm really

Re: SOLR Indexed object delete automatically.

2017-04-24 Thread Erick Erickson
Are you using Data Import Handler (DIH?)? The "clean" option there removes all the docs before running. If not, then _someone_ is sending that command, Solr isn't generating it by itself. Best, Erick On Mon, Apr 24, 2017 at 12:35 PM, Saurav Maulick wrote: > No David. this

Re: How to add extra server to Cloud instance?

2017-04-24 Thread Erick Erickson
Just point the new Solr instance at the same Zookeeper ensemble, it'll be added automatically. However, you say: "..add one more server to this cloud to have extra documents indexed and better performance" What kind of "performance" are we talking here? If you want to add another _shard_ because

How to add extra server to Cloud instance?

2017-04-24 Thread Nilesh Kamani
Hello All, I created solr cloud instance and collection on Google cloud (Windows Instance). I used below command. *solr create_collection -c booleansearch -shards 1 -replicationFactor 1* I would like to add one more server to this cloud to have extra documents indexed and better performance.

Troubleshooting solr errors

2017-04-24 Thread Daniel Miller
I'm running Solr 6.4.2 to index my mail server (Dovecot). Searching is great - but periodically I have Solr errors. Previously, when an error would occur Solr would terminate. I now have it running as a systemd service so it would auto-restart - but it seems like that doesn't solve it. Some

Re: SOLR Indexed object delete automatically.

2017-04-24 Thread Saurav Maulick
No David. this is not in public domain. I have asked server team to check incoming traffic IP also but they didn't find any thing. On Mon, Apr 24, 2017 at 3:28 PM, David Hastings < hastings.recurs...@gmail.com> wrote: > you dont have to log in to the server to send the delete command. is the >

Re: SOLR Indexed object delete automatically.

2017-04-24 Thread David Hastings
you dont have to log in to the server to send the delete command. is the computers ip address public? On Mon, Apr 24, 2017 at 3:13 PM, Saurav Maulick wrote: > thanks Erick for quick replay. > > I the log file we have found that deleteByQuery entry. but i have checked >

Re: SOLR Indexed object delete automatically.

2017-04-24 Thread Saurav Maulick
thanks Erick for quick replay. I the log file we have found that deleteByQuery entry. but i have checked with windows team they have confirmed no one login the server on that time. see the log entry 2017-04-22 03:56:24.452 INFO (coreZkRegister-1-thread-1-processing-n:XX.XX.XX.XX:1988_solr

Re: SOLR Indexed object delete automatically.

2017-04-24 Thread Erick Erickson
Solr does not delete files/documents by itself with the exception of TTL (Time To Live, since Solr 4.8. See: https://lucidworks.com/2014/05/07/document-expiration/). so unless you've configured TTL, which I doubt you have if you're asking this question then I'd suspect several possibilities: >

Multiple tables data aggregation

2017-04-24 Thread solr2020
Hi, We have set of mongodb collections which has one-many mapping/relation. So we are trying to create single document in solr from rows of different mongodb collections at the time of indexing. Can anyone suggest the best approach to achieve this? Thanks. -- View this message in context:

Re: Using multi valued field in solr cloud Graph Traversal Query

2017-04-24 Thread Ganesh M
Hi Joel, Any idea from when multi value field is supported for gatherNodes ? I am using version 6.5 ? Is it already there ? Kindly update, Ganesh On Sat, Mar 11, 2017 at 7:51 AM Joel Bernstein wrote: > Currently gatherNodes only works on single value fields. You can seed a

Re: Using multi valued field in solr cloud Graph Traversal Query

2017-04-24 Thread mganeshs
Hi Joel, Any idea from when multi value field is supported for gatherNodes ? I am using version 6.5 ? Is it already there ? Kindly update, Ganesh -- View this message in context:

Re: Solr SQL Subquery Support

2017-04-24 Thread Joel Bernstein
The docs describe the supported features. So if it's not listed in the docs it's not yet supported. The goal is to gradually increase SQL support. Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Apr 24, 2017 at 1:08 PM, Joel Bernstein wrote: > No > > Joel Bernstein >

Re: Solr SQL Subquery Support

2017-04-24 Thread Joel Bernstein
No Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Apr 24, 2017 at 12:57 PM, Furkan KAMACI wrote: > Hi, > > Does Solr SQL supports subqueries? > > Kind Regards, > Furkan KAMACI >

Solr SQL Subquery Support

2017-04-24 Thread Furkan KAMACI
Hi, Does Solr SQL supports subqueries? Kind Regards, Furkan KAMACI

Re: Mixing AND OR conditions with query parameters

2017-04-24 Thread VJ
Thanks MIchael and Erick. With your valuable comments I finally managed to get the expected result out of the query. Regards, VJ On Mon, Apr 24, 2017 at 8:17 PM, Erick Erickson wrote: > Michael's comments are spot on, and the deeper thing you should be > aware of is

Re: Numbers in the spellchecker: Mutations based on Levenshtein distance possible?

2017-04-24 Thread alessandro.benedetti
I would start with your spellchecker config and field analysis. Then we can try to help you! A shot in the dark is some kind of token filter such the word delimiter which generates token that you are not expecting in the index ( if you are using the Direct Spellcheck). You can use your analysis

Re: Working with Dates - More DateRangeField Details

2017-04-24 Thread Vincenzo D'Amore
Thanks for your suggestion :) On Mon, Apr 24, 2017 at 3:08 PM, Shawn Heisey wrote: > On 4/24/2017 3:24 AM, Vincenzo D'Amore wrote: > > https://cwiki.apache.org/confluence/display/solr/Working+with+Dates# > WorkingwithDates-MoreDateRangeFieldDetails > > > > And I found this

SOLR Indexed object delete automatically.

2017-04-24 Thread Saurav Maulick
Hi Team, We are using Solr 5.4.1 (in Windows with Zookeper). Our problem is Solr automatically delete all indexed files.from last couple of days. Is their any Maxout setting which can cause this issue? This is our production issue and any quick help is highly appreciated. -- Thanks and

Numbers in the spellchecker: Mutations based on Levenshtein distance possible?

2017-04-24 Thread Christian Ortner
Hello everyone, I'm working on a query correction feature based on collations generated by the spellchecker. This works like a charm, except when numeric tokens are present in the query. In that case, I don't get any corrections for the number, although corrections for textual tokens are still

Re: Modify solr score

2017-04-24 Thread tstusr
We came with a simple solution. We use termfreq and write a simple processor that counts words for making a boost function that only calculates the ratio between words that hit terms and the whole field length. Some tests are being made,

RE: CloudDescriptor.getNumShards() sometimes returns null

2017-04-24 Thread Markus Jelsma
Sorry, forgot to mention the version, it is on 6.5.0. Thanks, Markus -Original message- > From:Erick Erickson > Sent: Monday 24th April 2017 16:50 > To: solr-user > Subject: Re: CloudDescriptor.getNumShards() sometimes returns

Poll: Master-Slave or SolrCloud?

2017-04-24 Thread Otis Gospodnetić
Hi, I'm really really surprised here. Back in 2013 we did a poll to see how people were running Master-Slave (4.x back then) and SolrCloud was a bit more popular than Master-Slave: https://sematext.com/blog/2013/02/25/poll-solr-cloud-or-not/ Here is a fresh new poll with pretty much the same

Re: Mixing AND OR conditions with query parameters

2017-04-24 Thread Erick Erickson
Michael's comments are spot on, and the deeper thing you should be aware of is that Solr query parsing does not implement strict boolean logic, see Chris Hostetter's excellent blog here: https://lucidworks.com/2011/12/28/why-not-and-or-and-not/ As Michael suggests, parenthesizing carefully can

Re: CloudDescriptor.getNumShards() sometimes returns null

2017-04-24 Thread Erick Erickson
What version of Solr? This has been reworked pretty heavily lately no 6x and trunk. On Mon, Apr 24, 2017 at 2:24 AM, Markus Jelsma wrote: > Hi - that (RE: Overseer session expires on multiple collection creation) was > the wrong thread. I meant, any ideas on this

Re: A problem with depolying:solr6.5 report 404 error

2017-04-24 Thread Shawn Heisey
On 4/24/2017 5:56 AM, Rick Leir wrote: > David, > Did you say Tomcat? Try to install without Tomcat. Then, after starting Solr, > look in solr.log. > HTH -- Rick > > On April 23, 2017 9:44:30 PM EDT, David wrote: >> I have a problem with deploying the solr6.5. my environment are

Re: Working with Dates - More DateRangeField Details

2017-04-24 Thread Shawn Heisey
On 4/24/2017 3:24 AM, Vincenzo D'Amore wrote: > https://cwiki.apache.org/confluence/display/solr/Working+with+Dates#WorkingwithDates-MoreDateRangeFieldDetails > > And I found this filter query pretty interesting for me, so I was trying to > use it with a TrieDateField > > fq={!field

Re: HttpSolrServer default connection timeout and socket timeout

2017-04-24 Thread Shawn Heisey
On 4/24/2017 1:32 AM, Lasitha Wattaladeniya wrote: > I tried out HttpSolrServer.setConnectionTimeout() method. But im getting > java.lang.UnsupportedException error in my logs. After a littlebit research > I found this issue, > > https://issues.apache.org/jira/browse/SOLR-6542 > > Any workarounds

RE: DistributedUpdateProcessorFactory was explicitly disabled from this updateRequestProcessorChain

2017-04-24 Thread Pratik Thaker
Hi Alessandro, Can you please suggest what should be the correct order of adding processors ? I am having 5 collections, 6 shards, replication factor 2, 3 nodes on 3 separate VMs. Regards, Pratik Thaker -Original Message- From: alessandro.benedetti [mailto:a.benede...@sease.io] Sent:

Re: prefix facet performance

2017-04-24 Thread Yonik Seeley
In SimpleFacets.getFacetTermEnumCounts, we seek to the first term matching the prefix using the index and then for each term after compare the prefix until it no longer matches. -Yonik On Mon, Apr 24, 2017 at 5:04 AM, alessandro.benedetti wrote: > Thanks Yonik and Maria.

Re: A problem with depolying:solr6.5 report 404 error

2017-04-24 Thread Rick Leir
David, Did you say Tomcat? Try to install without Tomcat. Then, after starting Solr, look in solr.log. HTH -- Rick On April 23, 2017 9:44:30 PM EDT, David wrote: >Dear,manager: > > >I have a problem with deploying the solr6.5. my environment are >windows7+jdk

Re: Inconsistent Counts in Cloud at Solr SQL Queries

2017-04-24 Thread Furkan KAMACI
Thanks for the answer! Does facet uses Solr Json requests or new facet API (which is faster than the old one)? On Mon, Apr 24, 2017 at 2:18 PM, Joel Bernstein wrote: > SQL has two aggregation modes: facet and map_reduce. Facet uses the json > facet API directly so SOLR-7452

Re: Inconsistent Counts in Cloud at Solr SQL Queries

2017-04-24 Thread Joel Bernstein
SQL has two aggregation modes: facet and map_reduce. Facet uses the json facet API directly so SOLR-7452 would apply if it hasn't been resolved yet. map_reduce always gives accurate results regardless of the cardinality but is slower. To increase performance using map_reduce you need to increase

Re: Mixing AND OR conditions with query parameters

2017-04-24 Thread Michael Kuhlmann
Make sure to have a whitespace are the OR operator. The parenthesises should be around the OR query, not including the "fq:" -- this should be outside the parenthesises (which are not necessary at all). What exactly are you expecting? -Michael Am 24.04.2017 um 12:59 schrieb VJ: > Hi All, > > I

Mixing AND OR conditions with query parameters

2017-04-24 Thread VJ
Hi All, I am facing issues with OR/AND conditions with query parameters: fq=cioname:"XYZ" & (fq=attr1:trueORattr2:true) The queries are not returning expected results. I have tried various permutation and combinations but couldn't get it working. Any pointers on this? Regards, VJ

Working with Dates - More DateRangeField Details

2017-04-24 Thread Vincenzo D'Amore
Hi All, I was reading the Apache Solr Reference Guide - Working with Dates https://cwiki.apache.org/confluence/display/solr/Working+with+Dates#WorkingwithDates-MoreDateRangeFieldDetails And I found this filter query pretty interesting for me, so I was trying to use it with a TrieDateField

RE: CloudDescriptor.getNumShards() sometimes returns null

2017-04-24 Thread Markus Jelsma
Hi - that (RE: Overseer session expires on multiple collection creation) was the wrong thread. I meant, any ideas on this one? Many thanks, Markus -Original message- > From:Markus Jelsma > Sent: Friday 14th April 2017 17:25 > To: solr-user

RE: Overseer session expires on multiple collection creation

2017-04-24 Thread Markus Jelsma
Hi - any ideas on this one? Many thanks, Markus -Original message- > From:apoorvqwerty > Sent: Friday 21st April 2017 15:04 > To: solr-user@lucene.apache.org > Subject: Overseer session expires on multiple collection creation > > Hi, > I am trying to create

Inconsistent Counts in Cloud at Solr SQL Queries

2017-04-24 Thread Furkan KAMACI
Hi, As you know that json facet api returns inconsistent counts in cloud set up (SOLR-7452). I would like to learn that is the situation same for Solr SQL queries too? Kind Regards, Furkan KAMACI

Re: How to use Wordnet in solr?

2017-04-24 Thread alessandro.benedetti
No no Pablo, what I am saying is that you will need to : 1) download the wordnet file 2) upload it to Solr as a managed resource 3) use the synonym token filter with the wordnet format. I don't know ( and I don't think it is possible right now) how to configure a managed resource to fetch data

Re: prefix facet performance

2017-04-24 Thread alessandro.benedetti
Thanks Yonik and Maria. It make sense, if we reduce the number of terms, term enum becomes a very good solution. @Yonik : do we still check the prefix on the term dictionary one by one, or an FST is used to identify the set of candidate terms ? I will check the code later, Regards -

Re: HttpSolrServer default connection timeout and socket timeout

2017-04-24 Thread Lasitha Wattaladeniya
Hi devs, I tried out HttpSolrServer.setConnectionTimeout() method. But im getting java.lang.UnsupportedException error in my logs. After a littlebit research I found this issue, https://issues.apache.org/jira/browse/SOLR-6542 Any workarounds for this issue? Regards, Lasitha On 16 Mar 2017

Re: Nodes goes down but never recovers.

2017-04-24 Thread Pranaya Behera
Any other solutions for this ? On Fri, Apr 21, 2017 at 9:42 AM, Pranaya Behera wrote: > Hi Erick, > Even if they use different solr.home which I have also > tested in AWS environment there also is the same problem. > > Can someone verify the first message

A problem with depolying:solr6.5 report 404 error

2017-04-24 Thread David
Dear,manager: I have a problem with deploying the solr6.5. my environment are windows7+jdk 8u131+tomcat9.0+solr6.5. java run successfully, tomcat run successfully, solr6.5 has been depolyed. Enter http://localhost:8080/solr/index.html in firefox, and then report 404 error. The detail