SolrJ 503 Error

2013-12-21 Thread S.L
Hi All, I am running a single Solr instance with version 4.4 with Apache Tomcat 7.0.42 ,I am aslo running a Nutch instance with about 20 threads and each thread is committing a document in the Solr index using the Solrj API , the version of Solrj API I use is 4.3.1 , can anyone please let me

Re: SolrJ 503 Error

2013-12-21 Thread S.L
I have a 8GB machine , and I commit for each and every document that is added to Solr, not sure if I am missing anything here , but it seems I could use auto commit from your response , in that case do I not need to call the commit call , can you please point me to a resource that explains this ?

eDismax parser and the mm parameter

2014-03-30 Thread S.L
Hi All, I am planning to use the eDismax query parser in SOLR to give boost to documents that have a phrase in their fields present. Now there is a mm parameter in the edismax parser query , since the query typed by the user could be of any length (i.e. =1) I would like to set the mm value to 1 .

Re: eDismax parser and the mm parameter

2014-03-30 Thread S.L
-Original Message- From: S.L Sent: Sunday, March 30, 2014 2:25 AM To: solr-user@lucene.apache.org Subject: eDismax parser and the mm parameter Hi All, I am planning to use the eDismax query parser in SOLR to give boost to documents that have a phrase in their fields present. Now

Re: eDismax parser and the mm parameter

2014-03-30 Thread S.L
/solr/The+ Extended+DisMax+Query+Parser The focus on mm may indeed be a classic XY Problem - a premature focus on a solution without detailing the problem. -- Jack Krupansky -Original Message- From: S.L Sent: Sunday, March 30, 2014 11:18 AM To: solr-user@lucene.apache.org Subject

Re: eDismax parser and the mm parameter

2014-03-30 Thread S.L
. -- Jack Krupansky -Original Message- From: S.L Sent: Sunday, March 30, 2014 6:14 PM To: solr-user@lucene.apache.org Subject: Re: eDismax parser and the mm parameter Jacks Thanks Again, I am searching Chinese medicine documents , as the example I gave earlier a user can search

Re: eDismax parser and the mm parameter

2014-03-30 Thread S.L
on a solution when you haven't clearly defined your use cases. -- Jack Krupansky -Original Message- From: S.L Sent: Sunday, March 30, 2014 9:13 PM To: solr-user@lucene.apache.org Subject: Re: eDismax parser and the mm parameter Jack, I mis-stated the problem , I am not using

Re: eDismax parser and the mm parameter

2014-03-31 Thread S.L
the highest boost, and boost pf3 higher than pf2. You could try using the complex phrase query parser for the third case. -- Jack Krupansky -Original Message- From: S.L Sent: Monday, March 31, 2014 12:08 AM To: solr-user@lucene.apache.org Subject: Re: eDismax parser and the mm

Re: eDismax parser and the mm parameter

2014-04-02 Thread S.L
- From: William Bell billnb...@gmail.com To: solr-user@lucene.apache.org solr-user@lucene.apache.org Subject: eDismax parser and the mm parameter Date: Wed, Apr 2, 2014 12:03 AM Fuzzy is provided use ~ On Mon, Mar 31, 2014 at 11:04 PM, S.L simpleliving...@gmail.com wrote: Jack

Re: eDismax parser and the mm parameter

2014-04-03 Thread S.L
:12 PM, S.L simpleliving...@gmail.com wrote: Thanks Ahmet, I would definitely look into this . I appreciate that. On Wed, Apr 2, 2014 at 7:47 PM, Ahmet Arslan iori...@yahoo.com wrote: Yes, it has spellcheck.collate parameter. I mean it has lots of parameters and with correct combination

Combining eDismax and SpellChecker

2014-04-05 Thread S.L
Hi All, I want to suggest the correct phrase if a typo is made while searching and then search it using eDismax parser(pf,pf2,pf3), if no typo is made then search it using eDismax parser alone. Is there a way I can combine these two components , I have seen examples for eDismax and also for

Apache Solr SpellChecker Integration with the default select request handler

2014-04-12 Thread S.L
Hello fellow Solr users, I am using the default select request handler to search a Solr core , I also use the eDismaxquery parser. 1. I want to integrate this with the spellchecker search component so that if a search request comes in the spellchecker component also gets called and

Re: Apache Solr SpellChecker Integration with the default select request handler

2014-04-12 Thread S.L
to use to solve this with Solrj? Thanks; Furkan KAMACI 2014-04-12 18:34 GMT+03:00 S.L simpleliving...@gmail.com: Hello fellow Solr users, I am using the default select request handler to search a Solr core , I also use the eDismaxquery parser. 1. I want to integrate

Re: Apache Solr SpellChecker Integration with the default select request handler

2014-04-12 Thread S.L
+03:00 S.L simpleliving...@gmail.com: Yes, I use solrJ , but only to index the data , the querying of the data happens usinf the default select query handler from a non java client. On Sat, Apr 12, 2014 at 12:12 PM, Furkan KAMACI furkankam...@gmail.com wrote: Hi; Do you use

Wordbreak spellchecker excessive breaking.

2014-05-24 Thread S.L
I am using Solr wordbreak spellchecker and the issue is that when I search for a term like mob ile expecting that the wordbreak spellchecker would actually resutn a suggestion for mobile it breaks the search term into letters like m o b I have two issues with this behavior. 1. How can I make

Re: Wordbreak spellchecker excessive breaking.

2014-05-26 Thread S.L
Anyone ? On Sat, May 24, 2014 at 5:21 PM, S.L simpleliving...@gmail.com wrote: I am using Solr wordbreak spellchecker and the issue is that when I search for a term like mob ile expecting that the wordbreak spellchecker would actually resutn a suggestion for mobile it breaks the search term

Re: Wordbreak spellchecker excessive breaking.

2014-05-29 Thread S.L
or misspelling and combine or break words in one shot. That is, it cannot detect that mob lie should become mobile. James Dyer Ingram Content Group (615) 213-4311 -Original Message- From: S.L [mailto:simpleliving...@gmail.com] Sent: Saturday, May 24, 2014 4:21 PM To: solr-user

Re: Wordbreak spellchecker excessive breaking.

2014-05-30 Thread S.L
want to post a stack trace or describe what happens when it doesn't restart. Perhaps someone here will know what the problem is. James Dyer Ingram Content Group (615) 213-4311 -Original Message- From: S.L [mailto:simpleliving...@gmail.com] Sent: Friday, May 30, 2014 12:36 AM

DirectSpellChecker not returning expected suggestions.

2014-05-30 Thread S.L
Hi All, I have a small test index of 400 documents , it happens to have an entry for wrangler, When I search for wranglr, I correctly get the collation suggestion as wrangler, however when I search for wrangle , I do not get a suggestion for wrangler. The Levenstien distance between wrangle --

Re: DirectSpellChecker not returning expected suggestions.

2014-06-02 Thread S.L
Anyone ? On Sat, May 31, 2014 at 12:33 AM, S.L simpleliving...@gmail.com wrote: Hi All, I have a small test index of 400 documents , it happens to have an entry for wrangler, When I search for wranglr, I correctly get the collation suggestion as wrangler, however when I search for wrangle

Re: DirectSpellChecker not returning expected suggestions.

2014-06-02 Thread S.L
for, or is it deemed correctly spelled? Have you tried another spellChecker impl, for troubleshooting purposes? ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Sat, May 31, 2014 at 12:33 AM, S.L simpleliving...@gmail.com wrote

Re: DirectSpellChecker not returning expected suggestions.

2014-06-02 Thread S.L
suggest me wrangler ? On Mon, Jun 2, 2014 at 2:00 PM, S.L simpleliving...@gmail.com wrote: I do not get any suggestion (when I search for wrangle) , however I correctly get the suggestion wrangler when I search for wranglr , I am using the Direct and WordBreak spellcheckers in combination, I have

Re: DirectSpellChecker not returning expected suggestions.

2014-06-02 Thread S.L
Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Mon, Jun 2, 2014 at 2:06 PM, S.L simpleliving...@gmail.com wrote: OK, I just realized that wrangle is a proper english word, probably thats why I dont get a suggestion for wrangler in this case. How ever in my test

Re: DirectSpellChecker not returning expected suggestions.

2014-06-02 Thread S.L
field analyzed? If you're using stemming, then wrangle and wrangler might be stemmed to the same word. (by the way, you shouldn't spellcheck against a stemmed or otherwise heavily-analyzed field). James Dyer Ingram Content Group (615) 213-4311 -Original Message- From: S.L

Strange Behavior with Solr in Tomcat.

2014-06-04 Thread S.L
Hi Folks, I recently started using the spellchecker in my solrconfig.xml. I am able to build up an index in Solr. But,if I ever shutdown tomcat I am not able to restart it.The server never spits out the server startup time in seconds in the logs,nor does it print any error messages in the

Re: Strange Behavior with Solr in Tomcat.

2014-06-04 Thread S.L
up. Next time always make back up. On Jun 4, 2014 7:55 PM, S.L simpleliving...@gmail.com wrote: Hi Folks, I recently started using the spellchecker in my solrconfig.xml. I am able to build up an index in Solr. But,if I ever shutdown tomcat I am not able to restart it.The server never

Re: Strange Behavior with Solr in Tomcat.

2014-06-06 Thread S.L
Anyone folks? On Wed, Jun 4, 2014 at 10:25 AM, S.L simpleliving...@gmail.com wrote: Hi Folks, I recently started using the spellchecker in my solrconfig.xml. I am able to build up an index in Solr. But,if I ever shutdown tomcat I am not able to restart it.The server never spits out

Re: Strange Behavior with Solr in Tomcat.

2014-06-07 Thread S.L
the process if you`re running on Unix or changed the log level in Solr to get more information logged -Original Message- From: S.L [mailto:simpleliving...@gmail.com] Sent: June-06-14 2:33 PM To: solr-user@lucene.apache.org Subject: Re: Strange Behavior with Solr in Tomcat

Re: Is it possible for solr to calculate and give back the price of a product based on its sub-products

2014-06-08 Thread S.L
I am not sure if that is doable , I think it needs to be taken care of at the indexing time. On Sun, Jun 8, 2014 at 4:55 PM, Gharbi Mohamed gharbi.mohamed.e...@gmail.com wrote: Hi, I am using Solr for searching magento products in my project, I want to know, is it possible for solr to

Spell checker - limit on number of misspelt words in a search term.

2014-06-17 Thread S.L
Hi All, I am using the Direct Spell checker component and I have collate =true in my solrconfig.xml. The issue that I noticed is that , when I have a search term with upto two words in it and if both of them are misspelled I get a collation query as a suggestion in the spellchecker output, if

Crawl-Delay in robots.txt and fetcher.threads.per.queue property in Nutch

2014-06-25 Thread S.L
Hello All If I set fetcher.threads.per.queue property to more than 1 , I believe the behavior would be to have those many number of threads per host from Nutch, in that case would Nutch still respect the Crawl-Delay directive in robots.txt and not crawl at a faster pace that what is specified

Intermittent error indexing SolrCloud 4.7.0

2014-08-19 Thread S.L
Hi All, I get No Live SolrServers available to handle this request error intermittently while indexing in a SolrCloud cluster with 3 shards and replication factor of 2. I am using Solr 4.7.0. Please see the stack trace below. org.apache.solr.client.solrj.SolrServerException: No live

pySolr and other Python client options for SolrCloud.

2014-10-01 Thread S.L
Hi All, We recently moved from a single Solr instance to SolrCloud and we are using pysolr , I am wondering what options (clients) we have from Python to take advantage of Zookeeper and load balancing capabilities that SolrCloud provides if I were to use a smart client like Solrj? Thanks.

Re: pySolr and other Python client options for SolrCloud.

2014-10-01 Thread S.L
Right , but my query was to know if there are any Python clients which achieve the same thing as SolrJ , or the approach one should take when using Python based clients. On Wed, Oct 1, 2014 at 3:57 PM, Upayavira u...@odoko.co.uk wrote: On Wed, Oct 1, 2014, at 08:47 PM, S.L wrote: Hi All

Re: pySolr and other Python client options for SolrCloud.

2014-10-01 Thread S.L
, S.L wrote: Right , but my query was to know if there are any Python clients which achieve the same thing as SolrJ , or the approach one should take when using Python based clients. If the python client can support multiple hosts and failing over between them, then you would simply list

Re: pySolr and other Python client options for SolrCloud.

2014-10-01 Thread S.L
That makes perfect sense , thanks again! On Wed, Oct 1, 2014 at 10:09 PM, Shawn Heisey apa...@elyograg.org wrote: On 10/1/2014 7:08 PM, S.L wrote: Thanks ,load balancer seems to be the preferred solution here , I have a topology where I have 6 Solr nodes that support 3 shards

SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-02 Thread S.L
Hi All, I am trying to query a 6 node Solr4.7 cluster with 3 shards and a replication factor of 2 . I have fronted these 6 Solr nodes using a load balancer , what I notice is that every time I do a search of the form q=*:*fq=(id:9e78c064-919f-4ef3-b236-dc66351b4acf) it gives me a result only

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-02 Thread S.L
show up? My _guess_ is that your load balancer isn't quite doing what you think, or your cluster isn't set up the way you think it is, but those are guesses. Best, Erick On Thu, Oct 2, 2014 at 2:51 PM, S.L simpleliving...@gmail.com wrote: Hi All, I am trying to query a 6 node Solr4.7

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-02 Thread S.L
the search is just failing as whole intermittently . Also ,the collection is being actively indexed as I query this, could that be an issue too ? Thanks. On Thu, Oct 2, 2014 at 10:24 PM, S.L simpleliving...@gmail.com wrote: Erick, Thanks for your reply, I tried your suggestions. 1 . When

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-02 Thread S.L
distrib=true you get varying counts. This is very strange and not at all expected. Let's try it again without indexing going on And what do you mean by indexing anyway? How are documents being fed to your system? Best, Erick@PuzzledAsWell On Thu, Oct 2, 2014 at 7:32 PM, S.L simpleliving

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-06 Thread S.L
and hard commit settings please. Best, Erick On Thu, Oct 2, 2014 at 9:48 PM, S.L simpleliving...@gmail.com wrote: Eirck, 0 Load balancer is out of the picture . 1When I query with *distrib=false* , I get consistent results as expected for those shards that dont have the key i.e I dont get

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-06 Thread S.L
to do to keep these in synch, so if you can capture what happened when things got out of synch we'll fix it. But a lot has changed in the last several months, so the first thing I'd do if possible is to upgrade to 4.10.1. Best, Erick On Mon, Oct 6, 2014 at 2:41 PM, S.L simpleliving

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-13 Thread S.L
, just that enough has changed since 4.7 that it'd be a good place to start. Things have been reported off and on, but they're often pesky race conditions or something else that takes a long time to track down, you just are lucky perhaps ;)... Erick On Mon, Oct 6, 2014 at 8:04 PM, S.L

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-15 Thread S.L
AM, Tim Potter tim.pot...@lucidworks.com wrote: Try adding shards.info=true and debug=track to your queries ... these will give more detailed information about what's going behind the scenes. On Mon, Oct 13, 2014 at 11:11 PM, S.L simpleliving...@gmail.com wrote: Erick, I have upgraded

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-15 Thread S.L
anyone please let me know , how to solve this issue of intermittent no results for a query ? On Wed, Oct 15, 2014 at 3:15 PM, S.L simpleliving...@gmail.com wrote: Tim, Thanks for the suggestion. I have rerun the query by adding shards.info=true and debug= track. I have included the xml data

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-15 Thread S.L
the select request handler ,so I cannot replace it with anything else , is that a problem ? Thanks. On Thu, Oct 16, 2014 at 12:05 AM, Shawn Heisey apa...@elyograg.org wrote: On 10/15/2014 9:26 PM, S.L wrote: Look at the logging information I provided below , looks like the results are only

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-16 Thread S.L
not find even a single common id in those lists , I tried at least 15 manually ,it looks like to me that the replicas are disjoint sets. Thanks. On Thu, Oct 16, 2014 at 1:41 AM, Shawn Heisey apa...@elyograg.org wrote: On 10/15/2014 10:24 PM, S.L wrote: Yes , I tried those two queries with distrib

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-16 Thread S.L
}, replicationFactor:2, autoAddReplicas:false}} Thanks! On Thu, Oct 16, 2014 at 9:02 PM, Shawn Heisey apa...@elyograg.org wrote: On 10/16/2014 6:27 PM, S.L wrote: 1. Java Version :java version 1.7.0_51 Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) 64-Bit Server VM (build

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-17 Thread S.L
Shawn, Just wondering if you have any other suggestions on what the next steps whould be ? Thanks. On Thu, Oct 16, 2014 at 11:12 PM, S.L simpleliving...@gmail.com wrote: Shawn , 1. I will upgrade to 67 JVM shortly . 2. This is a new collection as , I was facing a similar issue

Re: SolrCloud 4.7 not doing distributed search when querying from a load balancer.

2014-10-23 Thread S.L
commit generation = 10685 On Fri, Oct 17, 2014 at 1:12 PM, S.L simpleliving...@gmail.com wrote: Shawn, Just wondering if you have any other suggestions on what the next steps whould be ? Thanks. On Thu, Oct 16, 2014 at 11:12 PM, S.L simpleliving...@gmail.com wrote: Shawn , 1. I

Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-26 Thread S.L
Folks, I have posted previously about this , I am using SolrCloud 4.10.1 and have a sharded collection with 6 nodes , 3 shards and a replication factor of 2. I am indexing Solr using a Hadoop job , I have 15 Map fetch tasks , that can each have upto 5 threds each , so the load on the indexing

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-27 Thread S.L
cluster-nodes. Have you checked various metrics to see if that is the case? Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr Elasticsearch Support * http://sematext.com/ On Oct 26, 2014, at 9:59 PM, S.L simpleliving...@gmail.com wrote: Folks, I have

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-27 Thread S.L
/ On Oct 26, 2014, at 9:59 PM, S.L simpleliving...@gmail.com wrote: Folks, I have posted previously about this , I am using SolrCloud 4.10.1 and have a sharded collection with 6 nodes , 3 shards and a replication factor of 2. I am indexing Solr using a Hadoop job

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-27 Thread S.L
PM, S.L simpleliving...@gmail.com wrote: Folks, I have posted previously about this , I am using SolrCloud 4.10.1 and have a sharded collection with 6 nodes , 3 shards and a replication factor of 2. I am indexing Solr using a Hadoop job , I

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-27 Thread S.L
...@gmail.com wrote: On Mon, Oct 27, 2014 at 9:40 PM, S.L simpleliving...@gmail.com wrote: One is not smaller than the other, because the numDocs is same for both replicas and essentially they seem to be disjoint sets. That is strange. Can we see your clusterstate.json? With that, please

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-27 Thread S.L
the rate of requests from the incoming multiple threads. On Mon, Oct 27, 2014 at 7:09 PM, Will Martin wmartin...@gmail.com wrote: 2 naïve comments, of course. - Queuing theory - Zookeeper logs. From: S.L [mailto:simpleliving...@gmail.com] Sent: Monday, October 27, 2014 1:42

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-28 Thread S.L
than 2 times. Capacity planning is tough, let's hope it doesn't disappear altogether. G'luck -Original Message- From: S.L [mailto:simpleliving...@gmail.com] Sent: Monday, October 27, 2014 9:25 PM To: solr-user@lucene.apache.org Subject: Re: Heavy Multi-threaded indexing

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-28 Thread S.L
installation is capable of. On 10/28/14 12:39, S.L wrote: Will, I think in one of your other emails(which I am not able to find) you has asked if I was indexing directly from MapReduce jobs, yes I am indexing directly from the map task and that is done using SolrJ with a SolrCloudServer

Re: Heavy Multi-threaded indexing and SolrCloud 4.10.1 replicas out of synch.

2014-10-28 Thread S.L
to appropriately tune your Hadoop implementation to match what your Solr installation is capable of. On 10/28/14 12:39, S.L wrote: Will, I think in one of your other emails(which I am not able to find) you has asked if I was indexing directly from MapReduce jobs, yes I am indexing directly from

Re: Missing Records

2014-10-30 Thread S.L
I am curious , how many shards do you have and whats the replication factor you are using ? On Thu, Oct 30, 2014 at 5:27 PM, AJ Lemke aj.le...@securitylabs.com wrote: Hi All, We have a SOLR cloud instance that has been humming along nicely for months. Last week we started experiencing

Master Slave set up in Solr Cloud

2014-10-30 Thread S.L
Hi All, As I previously reported due to no overlap in terms of the documets in the SolrCloud replicas of the index shards , I have turned off the replication and basically have there shards with a replication factor of 1. It obviously seems will not be scalable due to the fact that the same core

Re: Master Slave set up in Solr Cloud

2014-11-02 Thread S.L
, Oct 30, 2014 at 6:18 PM, S.L simpleliving...@gmail.com wrote: Hi All, As I previously reported due to no overlap in terms of the documets in the SolrCloud replicas of the index shards , I have turned off the replication and basically have there shards with a replication factor of 1

Different ids for the same document in different replicas.

2014-11-11 Thread S.L
Hi All, I am seeing interesting behavior on the replicas , I have a single shard and 6 replicas and on SolrCloud 4.10.1 . I only have a small number of documents ~375 that are replicated across the six replicas . The interesting thing is that the same document has a different id in each one of

Re: Different ids for the same document in different replicas.

2014-11-12 Thread S.L
documents in, and you know that the uuid values you’re creating are unique, just change the field name and unique key name from ‘id’ to ‘uuid’. Or change the key name you send in from ‘uuid’ to ‘id’. On Nov 11, 2014, at 7:18 PM, S.L simpleliving...@gmail.commailto: simpleliving...@gmail.com

Re: Different ids for the same document in different replicas.

2014-11-12 Thread S.L
in case of SolrCloud with out using the uuid type or not having a per replica unique id? The uuid in question is of type . fieldType name=uuid class=solr.UUIDField indexed=true / On Wed, Nov 12, 2014 at 6:20 PM, S.L simpleliving...@gmail.com wrote: Thanks. So the issue here is I already

Can we query on _version_field ?

2014-11-12 Thread S.L
Hi All, We know that _version_field is a mandatory field in solrcloud schema.xml, it is expected to be of type long , it also seems to have unique value in a collection. However the query of the form

Re: Can we query on _version_field ?

2014-11-13 Thread S.L
something wonky going on with searching on large longs here. Feels like an XY problem to me though. Best, Erick On Thu, Nov 13, 2014 at 12:45 AM, S.L simpleliving...@gmail.com wrote: Hi All, We know that _version_field is a mandatory field in solrcloud schema.xml, it is expected

Re: Can we query on _version_field ?

2014-11-13 Thread S.L
, if the UUID is assigned _before_ the doc is sent to the destination shard, it should be fine. Have you checked that out? I'm at a conference, so I can't check it out too thoroughly right now... Best, Erick On Thu, Nov 13, 2014 at 10:18 AM, S.L simpleliving...@gmail.com wrote: Here is why I want

Re: Can we query on _version_field ?

2014-11-13 Thread S.L
as it is , or try and generate a unique id filed for each document. For the later option UUID is not behaving as expected in SolrCloud and _version_ field seems to be serving the need . On Thu, Nov 13, 2014 at 11:35 AM, Shawn Heisey apa...@elyograg.org wrote: On 11/12/2014 10:45 PM, S.L wrote

Re: Can we query on _version_field ?

2014-11-13 Thread S.L
to handle that. On Nov 13, 2014, at 12:02 PM, S.L simpleliving...@gmail.com wrote: I am not sure if this a case of XY problem. I have no control over the URLs to deduce an id from them , those are from www, I made the URL the uniqueKey , that way the document gets replaced when a new

Boosting the score using edismax for a non empty and non indexed field.

2014-12-07 Thread S.L
Hi All, I have a situation where I need to boost the score of a query if a field (imageURL) in the given document is non empty , I am using edismax so I know that using bq parameter would solve the problem. However the field imageURL that I am trying to boost on is not indexed , meaning (stored

Length norm not functioning in solr queries.

2014-12-08 Thread S.L
I have two documents doc1 and doc2 and each one of those has a field called phoneName. doc1:phoneName:Details about Apple iPhone 4s - 16GB - White (Verizon) Smartphone Factory Unlocked doc2:phoneName:Apple iPhone 4S 16GB for Net10, No Contract, White Here if I search for

Re: Boosting the score using edismax for a non empty and non indexed field.

2014-12-08 Thread S.L
Anyone ? On Mon, Dec 8, 2014 at 2:45 AM, S.L simpleliving...@gmail.com wrote: Hi All, I have a situation where I need to boost the score of a query if a field (imageURL) in the given document is non empty , I am using edismax so I know that using bq parameter would solve the problem

Re: Length norm not functioning in solr queries.

2014-12-09 Thread S.L
values. But for most suspect is the reducing precision when float norms are stored in byte vals. See javadoc for DefaultSimilarity.encodeNormValue(float) On Mon, Dec 8, 2014 at 5:49 PM, S.L simpleliving...@gmail.com wrote: I have two documents doc1 and doc2 and each one of those has a field

Re: Length norm not functioning in solr queries.

2014-12-10 Thread S.L
and flexible control over it. Ahmet On Tuesday, December 9, 2014 12:22 PM, S.L simpleliving...@gmail.com wrote: Hi , Mikhail Thanks , I looked at the explain and this is what I see for the two different documents in questions, they have identical scores even though the document 2 has a shorter

Re: Length norm not functioning in solr queries.

2014-12-11 Thread S.L
Mikhail, Thank you for confirming this , however Ahmet's proposal seems more simpler to implement to me . On Wed, Dec 10, 2014 at 5:07 AM, Mikhail Khludnev mkhlud...@griddynamics.com wrote: S.L, I briefly skimmed Lucene50NormsConsumer.writeNormsField(), my conclusion is: if you supply own

Re: Length norm not functioning in solr queries.

2014-12-11 Thread S.L
do the trick : StatelessScriptUpdateProcessorFactory At this point you have a int field named word count. boost=div(1,wordCount) should work. Or you can came up with more sophisticated math formula. Ahmet On Wednesday, December 10, 2014 11:12 AM, S.L simpleliving...@gmail.com wrote: Hi

Re: Length norm not functioning in solr queries.

2014-12-11 Thread S.L
, No special steps to be taken for cloud setup. Please note that for both solutions, re-index is mandatory. Ahmet On Thursday, December 11, 2014 12:15 PM, S.L simpleliving...@gmail.com wrote: Ahmet, Thank you , as the configurations in SolrCloud are uploaded to zookeeper , are there any special

'Illegal character in query' on Solr cloud 4.10.1

2014-12-23 Thread S.L
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. 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 *HTTP

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

2014-12-24 Thread S.L
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 like? Tomcat? Jetty? Other? What JVM etc? Best, Erick On Tue, Dec 23, 2014 at 3:23 AM, S.L simpleliving...@gmail.com wrote: Hi All

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

2014-12-25 Thread S.L
/SolrTomcat Sorry I can't be more help Erick On Wed, Dec 24, 2014 at 1:33 AM, S.L simpleliving...@gmail.com wrote: Erik, The scenario 1, that you have listed is what seems to be the case. When I add distrib=false to query each one of the 6 servers only 1 of them returns

distrib=false

2014-12-27 Thread S.L
Hi All, I have a question regarding distrib=false on the Solr query , it seems that the distribution is restricted across only the shards when the parameter is set to false, meaning if I query a particular node with in a shard with replication factor of more than one , the request could go to

Re: distrib=false

2014-12-28 Thread S.L
, Erick On Sat, Dec 27, 2014 at 8:14 AM, S.L simpleliving...@gmail.com wrote: Hi All, I have a question regarding distrib=false on the Solr query , it seems that the distribution is restricted across only the shards when the parameter is set to false, meaning if I query a particular node

How to implement multi-set in a Solr schema.

2014-12-28 Thread S.L
Hi All, I have a use case where I need to group documents that have a same field called bookName , meaning if there are a multiple documents with the same bookName value and if the user input is searched by a query on bookName , I need to be able to group all the documents by the same bookName

DocExpirationUpdateProcessorFactory not deleting records

2015-02-04 Thread S.L
I am trying to use the DocExpirationUpdateProcessorFactoryfactory in Solr 4.10.1 version. I have included the following in my solrconfig.xml updateRequestProcessorChain default=true processor class=solr.UUIDUpdateProcessorFactory str name=fieldNameid/str

Re: DocExpirationUpdateProcessorFactory not deleting records

2015-02-04 Thread S.L
Thanks for giving multiple options , I ll try them out both ,but last time I checked, having +60SECONDS as the default value for ttl was giving me an invalid date format exception, I am assuming that would only be the case if I use it with the default mechanism in schema.xml, but not when we

Re: DocExpirationUpdateProcessorFactory not deleting records

2015-02-04 Thread S.L
Great, this is the first example I have seen so far, I wish we could include this in the Wiki. Thanks again! On Wed, Feb 4, 2015 at 2:04 PM, Chris Hostetter hossman_luc...@fucit.org wrote: : : Thanks for giving multiple options , I ll try them out both ,but last time : I checked, having

Trending functionality in Solr

2015-02-08 Thread S.L
Folks, Is there a way to implement the trending functionality using Solr , to give the results using a query for say the most searched terms in the past hours or so , if the most searched terms is not possible is it possible to at least the get results for the last 100 terms? Thanks

Re: Trending functionality in Solr

2015-02-09 Thread S.L
:-) Cheers, Siegfried Goeschl On 08.02.15 05:26, S.L wrote: Folks, Is there a way to implement the trending functionality using Solr , to give the results using a query for say the most searched terms in the past hours or so , if the most searched terms is not possible is it possible

Re: [MASSMAIL]Re: Trending functionality in Solr

2015-02-09 Thread S.L
: Sunday, February 8, 2015 11:03:33 AM Subject: [MASSMAIL]Re: Trending functionality in Solr On 2/7/2015 9:26 PM, S.L wrote: Is there a way to implement the trending functionality using Solr , to give the results using a query for say the most searched terms in the past hours or so , if the most