Re: SolrCloud Admin UI shows node is Down, but state.json says it's active/up

2015-09-07 Thread Erick Erickson
Perhaps the browser cache? What happens if you, say, use Zookeeper client tools to bring down the the cluster state in question? Or perhaps just refresh the admin UI when showing the cluster status Shot in the dark, Erick On Mon, Sep 7, 2015 at 6:09 PM, Arcadius Ahouansou wrote: > We are run

Re: Sorting on date with multivalued False attribute

2015-09-07 Thread Erick Erickson
completely wipe the index, or recreate the collection and re-index. I'm guessing you changed the definition after some indexing was done and Lucene is a little confused about what the right definition is supposed to be. Best, Erick On Mon, Sep 7, 2015 at 7:55 PM, Akash Sahu wrote: > Hi, > > I am

Re: Position of Document in Listing (Search Result)

2015-09-07 Thread Shayan Haque
Sure, An example query with sorting and all would be something like as follow. http://192.168.21.34/solr/idx_pub/select?q=bump:true^100 featured:true^10 (*:*)^1&fq=make_search:honda&fq=model_search:beat&fq=price:[* TO *]&fq=price_drop:[* TO *]&fq=price_drop_percentage:[* TO *]&fq=year:[* TO *]&fq

Sorting on date with multivalued False attribute

2015-09-07 Thread Akash Sahu
Hi, I am working on solr5.3 and trying to buildup a schema where I can sort results by date. I have defined the date in the following manner. ** But still I am getting the result as multivalued and hence the sorting doesn't work. Can you please guide me how to accomplish this? Regards, Akash Sa

Re: SolrCloud Admin UI shows node is Down, but state.json says it's active/up

2015-09-07 Thread Arcadius Ahouansou
We are running the latest Solr 5.3.0 Thanks.

SolrCloud Admin UI shows node is Down, but state.json says it's active/up

2015-09-07 Thread Arcadius Ahouansou
Hello. In one of our test environment, we have a SolrCloud cluster of 8 SolrCloud nodes and a quorum of 5 ZooKeeper node. We have only 2 collections and all SolrCloud nodes are identical and have a single replica of each collection. I noticed that when I shut down one of the solr nodes and refr

Re: ghostly config issues

2015-09-07 Thread Shawn Heisey
On 9/7/2015 5:31 AM, Mark Fenbers wrote: > On 9/6/2015 4:25 PM, Shawn Heisey wrote: > I did as you prescribed. Being my solr.xml did not have a "sharedLib" > line in it, I added > > libtest > > between the and the tags because I'm not running in > cloud mode -- at least, not yet. > > I also

Re: json update handler gone?

2015-09-07 Thread Alexandre Rafalovitch
You can define any number of the handler end-point definitions. Also, you can pass the update chain name as part of the URL parameters. So, it could be different for each call if you want. Regards, Alex. Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: http://www.solr-star

Re: Maximum Number of entires in External Field?

2015-09-07 Thread Aman Tandon
I am currently doing boosting for 5-7 things. will it work great with this too? With Regards Aman Tandon On Mon, Sep 7, 2015 at 11:42 PM, Upayavira wrote: > External file field would work, but requires a full import of the > external file field every time you change a single entry, which is >

Re: Maximum Number of entires in External Field?

2015-09-07 Thread Upayavira
External file field would work, but requires a full import of the external file field every time you change a single entry, which is pretty extreme. I've tested out "score joins" which seemed to perform very well and achieved the same effect, but using another core, rather than an external file.

Re: Maximum Number of entires in External Field?

2015-09-07 Thread Aman Tandon
Any suggestions? With Regards Aman Tandon On Mon, Sep 7, 2015 at 1:07 PM, Aman Tandon wrote: > Hi Upayavira, > > Have you tried it? > > > No > > E.g. external file fields don't play nice with Solr Cloud > > > We are not using Solr Cloud. > > >> What are you using the external file for? > > > We

Re: json update handler gone?

2015-09-07 Thread Vivek Pathak
Yes, i figured that out looking at solr code. It was a thin wrapper adding a default encoding hint, so it can be replaced transparently by UpdateRequestHandler. I was interested in having a second update chain for testing duplicates, and it had to consume json. Thanks On 09/07/2015 06:2

Re: Strange interpretation of invalid ISO date strings

2015-09-07 Thread Walter Underwood
Yes, ISO 8601 gets pretty baroque in the far nooks and crannies of the spec. I use the “web profile” of ISO 8601, which is very simple. I’ve never seen any software mishandle dates using this subset of the spec. http://www.w3.org/TR/NOTE-datetime wunder Walter Underwood wun...@wunderwood.org ht

Re: Different boost values for multiple parsers in Solr 5.2.1

2015-09-07 Thread dinesh naik
Please find below the detail: My main query is like this: q=(((_query_:"{!synonym_edismax qf='itemname OR itemnumber OR itemdesc' v='HTC' mm=100 synonyms=true synonyms.constructPhrases=true synonyms.ignoreQueryOperators=true}") OR (itemname:"HTC" OR itemnamecomp:HTC* OR itemnumber:"HTC" OR itemn

Different boost values for multiple parsers in Solr 5.2.1

2015-09-07 Thread dinesh naik
Hi all, Is there a way to apply different boost , using bq parameter for different parser. for example if i am using a synonym parser and edismax parser in a single query, my bq param value is getting applied for both the parser making the boost value double. -- Best Regards, Dinesh Naik

Re: Strange interpretation of invalid ISO date strings

2015-09-07 Thread Toke Eskildsen
On Sun, 2015-09-06 at 11:05 -0600, Shawn Heisey wrote: > "querystring": "post_date:[2015-09-0124T00:00:00Z TO > 2015-09-0224T00:00:00Z]", > "parsedquery": "post_date:[145169280 TO 146033280]", > > The "24" is from part of our code that interprets the hour, it was being > incorrectly added.

Re: Not able to get logging in solr

2015-09-07 Thread shahper
Hi I haves setup solr with jetty now. I Getting following error in logging WARN null UpdateLog Log replay finished. recoveryInfo=RecoveryInfo{adds=0 deletes=0 deleteByQuery=2 errors=0 positionOfStart=0} 9/7/2015, 5:03:05 PM ERROR null ShowFileRequestHandler Can not find: admin-extra.men

Re: Not able to get logging in solr

2015-09-07 Thread shahper
Hi I haves setup solr with jetty now. I Getting following error in logging WARN null UpdateLog Log replay finished. recoveryInfo=RecoveryInfo{adds=0 deletes=0 deleteByQuery=2 errors=0 positionOfStart=0} 9/7/2015, 5:03:05 PM ERROR null ShowFileRequestHandler Can not find: admin-extra.men

Re: ghostly config issues

2015-09-07 Thread Mark Fenbers
On 9/6/2015 4:25 PM, Shawn Heisey wrote: If we assume that it cannot be a problem with multiple jar versions, which sounds pretty reasonable, then I think SOLR-6188 is probably to blame. https://issues.apache.org/jira/browse/SOLR-6188 I think you should try this as a troubleshooting step: Ren

Re: json update handler gone?

2015-09-07 Thread Upayavira
On Mon, Sep 7, 2015, at 11:11 AM, Vivek Pathak wrote: > Hello, > > Wring a custom handler, I am having trouble with > JsonUpdateRequestHandler - getting a class not found error. > > I see web examples till 4.7. Has it been depractaed in 5.2 and what > class may replace it? Since 4.0, the d

json update handler gone?

2015-09-07 Thread Vivek Pathak
Hello, Wring a custom handler, I am having trouble with JsonUpdateRequestHandler - getting a class not found error. I see web examples till 4.7. Has it been depractaed in 5.2 and what class may replace it? Thanks Vivek

Re: Problems upgrading to Solr 5.3.0

2015-09-07 Thread Zheng Lin Edwin Yeo
By the way, this is the error that I got when I tried to migrate the indexes from Solr 5.2.1 using the command: bin\solr.cmd start -cloud -p 8983 -s solrMain\node1\solr -m 12g -z "localhost:2181,localhost:2182,localhost:2183" HTTP ERROR 500 Problem accessing /solr/admin. Reason: Server Error

Re: SOLR last modified different than filesystem last modified

2015-09-07 Thread Toke Eskildsen
On Mon, 2015-09-07 at 02:07 -0700, sat wrote: > additionaly I have another strange behavior. Some documents have the correct > last-modified time and others not. Do you have an idea why this behavior > might occur ? Daylight savings only account for 1 hour and your problem is a 2 hours difference.

Re: SOLR last modified different than filesystem last modified

2015-09-07 Thread sat
Dear Toke Eskildsen, additionaly I have another strange behavior. Some documents have the correct last-modified time and others not. Do you have an idea why this behavior might occur ? Thank you a lot -- View this message in context: http://lucene.472066.n3.nabble.com/SOLR-last-modified-diffe

Re: solr now relational between tags?!!

2015-09-07 Thread sara hajili
tnx. as i see more like this.i underestand that if i set field "termVectors=true" and i set this in solrconfig: now i use pysolr and i add this docs: { 'id': 'doc_11', 'title': 'these trees are amazing', 'tags':['fruit','peach','apple'] } now i want to find like more this doc th

Re: Problems upgrading to Solr 5.3.0

2015-09-07 Thread Zheng Lin Edwin Yeo
Thanks for the advice. I've downloaded the latest solr-analysis-extra-5.3.0.jar, and have solved the ICU Tokenizer issue. Things are working for newly created cores and indexes. However, I still couldn't migrate the indexes from Solr 5.2.1. The Solr is not able to start at all when I run this comm

Re: Could we merge solr logo into our logo?

2015-09-07 Thread Jan Høydahl
Can you send your request to the PMC at private@lucene.apache org ? -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 5. sep. 2015 kl. 15.08 skrev Shi Jinghai : > > Hi there, > > We are integrating solr into our project (Apache OFBiz project). I’m not sure > whether

Re: Maximum Number of entires in External Field?

2015-09-07 Thread Aman Tandon
Hi Upayavira, Have you tried it? No E.g. external file fields don't play nice with Solr Cloud We are not using Solr Cloud. > What are you using the external file for? We are doing the boosting in the search result which are *having price by 1.2* & *country is India by 1.1*. We are doing

Re: Maximum Number of entires in External Field?

2015-09-07 Thread Upayavira
Have you tried it? I suspect your issue will be with the process of reloading the external file rather than consuming it once loaded. What are you using the external file for? There may be other ways also. E.g. external file fields don't play nice with Solr Cloud. Upayavira On Mon, Sep 7, 2015,

Re: Problems upgrading to Solr 5.3.0

2015-09-07 Thread davidphilip cherian
If you have a look at solr 5.3 'changes.txt', there are some jiras (resolved) that are related to ICU Tokenizer. You could possibly try taking the latest jar of this tokenizer from solr 5.3 binaries and replace in 5.2 and try. On Mon, Sep 7, 2015 at 9:49 AM, Zheng Lin Edwin Yeo wrote: > Hi, >