Re: deletebyQuery vs deletebyId

2018-05-23 Thread Erick Erickson
Hmmm, this looks like https://issues.apache.org/jira/browse/SOLR-8889? And are you the "Jay" who commented there? On Wed, May 23, 2018 at 11:28 PM, Erick Erickson wrote: > Tell us some more about your setup, particularly: > - you mention routing key. Is the collection used with implicit > routing

Re: deletebyQuery vs deletebyId

2018-05-23 Thread Erick Erickson
Tell us some more about your setup, particularly: - you mention routing key. Is the collection used with implicit routing or compositeID? - What does adding &debug=query show? - I'm not entirely sure, frankly, how delete by id and having a different routing field play together. The supposition behi

Re: How to do parallel indexing on files (not on HDFS)

2018-05-23 Thread Raymond Xie
Thank you Rahul despite that's very high level. With no offense, do you have a successful implementation or it is just your unproven idea? I never used Rabbit nor Kafka before but would be very interested in knowing more detail on the Kafka idea as Kafka is available in my environment. Thank you

Re: Unable to make IN queries on a particular field in solr

2018-05-23 Thread Shawn Heisey
On 5/23/2018 5:40 PM, RAUNAK AGRAWAL wrote: I am facing an issue where I have a collection named employee collection. Suppose I was to search employee by its id, so my query is *id:(1 2 3*) and it is working fine in solr. Now let say I want to search by their name. So my query is name:(Alice Bob

Re: Trying to update Solrj in our app...

2018-05-23 Thread Shawn Heisey
On 5/23/2018 11:46 AM, BlackIce wrote: > Is there a list of things that have been deprecated in solr since 5.0.0? Or > do I have to read EVERY release readme till I get to 7.3.1? The javadoc for each release has pages that list all deprecations in that release on a per-module basis, so there are d

Unable to make IN queries on a particular field in solr

2018-05-23 Thread RAUNAK AGRAWAL
Hi, I am facing an issue where I have a collection named employee collection. Suppose I was to search employee by its id, so my query is *id:(1 2 3*) and it is working fine in solr. Now let say I want to search by their name. So my query is name:(Alice Bob). Now the problem is when I am querying

Re: deletebyQuery vs deletebyId

2018-05-23 Thread Jay Potharaju
Thanks Emir & Shawn for chiming in!. I am testing deleteById in solr6.6.3 and it does not seem to work. I have a 6 shards in my collection and when sending query to solr a routing key is also passed. Also tested this in solr 5.3 also, with same results. Any suggestions why that would be happening?

Restore of Solr Collection with schema changes ?

2018-05-23 Thread Satyanarayana Kalahasthi
Hi Team, Is the back-up of Solr collection is possible if there are any schema changes (addition of new field or deletion of existing field in managed-schema.xml) during restore? I am not a registered user, but please do the needful. Thanks Kalahasthi Satyanarayana Mobile : 08884581161 The in

Re: Search Analytics Help

2018-05-23 Thread Sameer Maggon
Ennio, Have you taken a look at SearchStax Analytics? https://www.searchstax.com/docs/search-analytics-start/ Thanks, On Wed, May 23, 2018 at 11:34 AM, ennio wrote: > Thanks all for the comments. I'm looking at the ELK option here. > > > > -- > Sent from: http://lucene.472066.n3.nabble.com

Re: Search Analytics Help

2018-05-23 Thread ennio
Thanks all for the comments. I'm looking at the ELK option here. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Trying to update Solrj in our app...

2018-05-23 Thread BlackIce
Hi again, Is there a list of things that have been deprecated in solr since 5.0.0? Or do I have to read EVERY release readme till I get to 7.3.1? On Wed, May 23, 2018 at 4:31 PM, BlackIce wrote: > Thnx, but that doesn't compile either... lemme read up this... > > On Wed, May 23, 2018 at 3:52 PM

Re: Solr Dates TimeZone

2018-05-23 Thread Erick Erickson
And you do _not_ want to store anything except UTC for dates. IMO, all the expectations about timezones are a remnant of when computers were on-prem. You'll spend _endless_ hours trying to deal with "the time shown is an hour off" if you try to store anything except UTC on any server anywhere and d

Re: Debugging/scoring question

2018-05-23 Thread Erick Erickson
Well, first you have to be using that similarity ;) Since Solr 6.0, BM25 has been the default similarity algorithm. If you insist, you can modify the score with function queries, see the docfreq method. Best, Erck On Wed, May 23, 2018 at 12:17 PM, LOPEZ-CORTES Mariano-ext wrote: > Yes. This ma

RE: Debugging/scoring question

2018-05-23 Thread LOPEZ-CORTES Mariano-ext
Yes. This make sense. I guess you talk about this doc: https://lucene.apache.org/core/6_0_1/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html How I can decrease the effect of the IDF component in my query? Thanks!! -Message d'origine- De : Alessandro Benedetti [mailto:a.b

Re: Debugging/scoring question

2018-05-23 Thread Alessandro Benedetti
Hi Mariano, >From the documentation : docCount = total number of documents containing this field, in the range [1 .. {@link #maxDoc()}] In your debug the fields involved in the score computation are indeed different ( nomUsageE, prenomE) . Does this make sense ? Cheers - ---

Re: Sorting on pseudo field(The one which is added during doctransformer)

2018-05-23 Thread prateek . agarwal
Thanks, Mikhail On 2018/05/18 11:33:09, Mikhail Khludnev wrote: > Right > https://wiki.apache.org/solr/SolrPlugins#ValueSourceParser > > On Fri, May 18, 2018 at 8:04 AM, prateek.agar...@bigbasket.com < > prateek.agar...@bigbasket.com> wrote: > > > Hi Mikhail, > > > > I think you forgot to link

Re: Zookeeper 3.4.12 with Solr 6.6.2?

2018-05-23 Thread Walter Underwood
Thanks for a detailed and clear answer. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On May 23, 2018, at 8:20 AM, Shawn Heisey wrote: > > On 5/22/2018 10:44 AM, Walter Underwood wrote: >> Is anybody running Zookeeper 3.4.12 with Solr 6.6.2? Is that

Re: Zookeeper 3.4.12 with Solr 6.6.2?

2018-05-23 Thread Shawn Heisey
On 5/22/2018 10:44 AM, Walter Underwood wrote: > Is anybody running Zookeeper 3.4.12 with Solr 6.6.2? Is that a recommended > combination? Not recommended? Solr 6.6.2 shipped with ZK 3.4.10, which the ZK project released 2017-Mar-30. I asked the zk mailing list about any gotchas they're aware of

Re: Solr Dates TimeZone

2018-05-23 Thread Shawn Heisey
On 5/22/2018 9:26 AM, LOPEZ-CORTES Mariano-ext wrote: > It's possible to configure Solr with a timezone other than GMT? No, at least not in the way that you're thinking. > It's possible to configure Solr Admin to view dates with a timezone other > than GMT? As far as I know, this is not possibl

Re: Index filename while indexing JSON file

2018-05-23 Thread Shawn Heisey
On 5/18/2018 1:47 PM, S.Ashwath wrote: > I have 2 directories: 1 with txt files and the other with corresponding > JSON (metadata) files (around 9 of each). There is one JSON file for > each CSV file, and they share the same name (they don't share any other > fields). > > The txt files just hav

Re: Trying to update Solrj in our app...

2018-05-23 Thread BlackIce
Thnx, but that doesn't compile either... lemme read up this... On Wed, May 23, 2018 at 3:52 PM, Shawn Heisey wrote: > On 5/23/2018 7:25 AM, BlackIce wrote: > >> I've got an app here that posts data to Solr using Solrj... >> I'm trying to update all our apps dependencies, and now I've reached Sol

Re: Question regarding TLS version for solr

2018-05-23 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anchal, On 5/23/18 2:38 AM, Anchal Sharma2 wrote: > Thank you for replying .But ,I checked the java version solr using > ,and it is already version 1.8. > > @Christopher ,can you let me know what steps you followed for TLS > authentication on solr

Re: Trying to update Solrj in our app...

2018-05-23 Thread Shawn Heisey
On 5/23/2018 7:25 AM, BlackIce wrote: I've got an app here that posts data to Solr using Solrj... I'm trying to update all our apps dependencies, and now I've reached Solrj Last kown working version is 5.5.0, anything after that dies at compile time with: if (val instanceof Date) { val2 =

Trying to update Solrj in our app...

2018-05-23 Thread BlackIce
Hi, I've got an app here that posts data to Solr using Solrj... I'm trying to update all our apps dependencies, and now I've reached Solrj Last kown working version is 5.5.0, anything after that dies at compile time with: cannot find symbol [javac] import org.apache.solr.common.util.DateUti

Debugging/scoring question

2018-05-23 Thread LOPEZ-CORTES Mariano-ext
Hi all I've a 20 document collection. In a debugging plan, we have: "100051":" 20.794415 = max of: 20.794415 = weight(nomUsageE:jean in 1) [SchemaSimilarity], result of: 20.794415 = score(doc=1,freq=1.0 = termFreq=1.0 ), product of: 15.0 = boost 1.3862944 = idf, computed as

Re: How to do parallel indexing on files (not on HDFS)

2018-05-23 Thread Rahul Singh
Enumerate the file locations (map) , put them in a queue like rabbit or Kafka (Persist the map), have a bunch of threads , workers, containers, whatever pop off the queue , process the item (reduce). -- Rahul Singh rahul.si...@anant.us Anant Corporation On May 20, 2018, 7:24 AM -0400, Raymond

Configuring aliases in ZooKeeper first

2018-05-23 Thread Gael Jourdan-Weil
Hello everyone, We are running a SolrCloud cluster with ZooKeeper. This SolrCloud cluster is down most of the time (backup environment) but the ZooKeeper instances are always up so that we can easily update configuration. This has been working fine for a long time with Solr 6.4.0 then 6.6.0, but

Re: deletebyQuery vs deletebyId

2018-05-23 Thread Emir Arnautović
Hi Jay, Solr does not handle it differently from any other DBQ. It will show less issues then some other DBQ because affects less documents but the mechanics of DBQ is the same and does not play well with concurrent changes of index (merges/updates) especially in SolrCloud mode. Here are some th

Re: Is it possible to index documents without storing their content?

2018-05-23 Thread Emir Arnautović
Hi Tom, Yes it is possible - see field options: https://lucene.apache.org/solr/guide/6_6/defining-fields.html#DefiningFields-OptionalFieldTypeOverrideProperties . There is stored op