Re: solr sort facets by name

2013-11-18 Thread Toke Eskildsen
On Wed, 2013-11-06 at 01:00 +0100, PeterKerk wrote: > By default solr sorts facets by the amount of hits for each result. However, > I want to sort by facetnames alphabetically. That is currently not possible in Solr. You can return then in Unicode order, as Koji and manju16832003 suggests, but th

Re: Solr cloud view shows core as down after using reload action

2013-11-18 Thread Shalin Shekhar Mangar
Are you sure you are reloading all the shards after the config change? You can also use the Collection Reload API to do this easily [1]. Are there any exceptions in the logs after a reload? [1] - https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-ReloadaCollection On

Re: distributed search is significantly slower than direct search

2013-11-18 Thread Shalin Shekhar Mangar
Manuel, that sounds very interesting. Would you be willing to contribute this back to the community? On Mon, Nov 18, 2013 at 9:53 AM, Manuel Le Normand wrote: > In order to accelerate the BinaryResponseWriter.write we extended this > writer class to implement the docid to id tranformation by docV

Re: Nutch 1.7 solrdedup error

2013-11-18 Thread Shalin Shekhar Mangar
The "solrdedup" seems to be a nutch specific command. I think you'll have better luck asking this question on the nutch mailing list. Otherwise you need to provide complete details of the exact command being executed against Solr, exception logged from Solr etc (i.e. there shouldn't be a need to lo

Re: Solr cloud view shows core as down after using reload action

2013-11-18 Thread vicky desai
Hi Shalin, There is only one shard for this core. I even tried reloading it using the collection API still in cloud view it is shown as orange. However, as I said the core is working perfectly fine. So no exception in logs. It is just the cloud view that is bothering me -- View this message in

Re: Solr cloud view shows core as down after using reload action

2013-11-18 Thread Shalin Shekhar Mangar
Which version of Solr are you using? Can you paste your clusterstate.json? On Mon, Nov 18, 2013 at 2:25 PM, vicky desai wrote: > Hi Shalin, > > There is only one shard for this core. > I even tried reloading it using the collection API still in cloud view it is > shown as orange. > However, as I

Re: Solr cloud view shows core as down after using reload action

2013-11-18 Thread vicky desai
Hi Shalin, I am using solr 4.3. The cluster state is as follows {"znode":{ "path":"/clusterstate.json","prop":{ "version":186, "aversion":0, "children_count":0, "ctime":"Mon Nov 18 12:30:53 IST 2013 (1384758053678)", "cversion":0, "czxid":39, "dataLen

Re: Solr cloud view shows core as down after using reload action

2013-11-18 Thread vicky desai
Hi Shalin, Core ONL-3117132084 is the one which is reloaded -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-cloud-view-shows-core-as-down-after-using-reload-action-tp4101625p4101651.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr cloud view shows core as down after using reload action

2013-11-18 Thread Shalin Shekhar Mangar
I think you are affected by SOLR-4805. Can you please upgrade to 4.5.1 and test? https://issues.apache.org/jira/browse/SOLR-4805 On Mon, Nov 18, 2013 at 2:40 PM, vicky desai wrote: > Hi Shalin, > > Core ONL-3117132084 is the one which is reloaded > > > > -- > View this message in context: > htt

Re: Solr cloud view shows core as down after using reload action

2013-11-18 Thread vicky desai
Hi Shalin, Thanks a lot. Yes it is the same issue. Due to some restrictions I cannot migrate my product to solr 4.5 as of now. But I will test it offline and post the reply here. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-cloud-view-shows-core-as-down-after-using-

RE: Nutch 1.7 solrdedup error

2013-11-18 Thread Markus Jelsma
You got a 404 for that URL http://localhost:8983/solr/rockies/. Your Solr core is not there. Caused by: org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8983/solr/rockies/select?q=*:*&fl=id&rows=1&wt=javabin&version=2 at org.apache.solr.client.solr

Re: distributed search is significantly slower than direct search

2013-11-18 Thread Yuval Dotan
Hi Thanks very much for your answers :) Manuel, if you have a patch I will be glad to test it's performance Yuval On Mon, Nov 18, 2013 at 10:49 AM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > Manuel, that sounds very interesting. Would you be willing to > contribute this back to th

RE: SolrCloud question

2013-11-18 Thread michael.boom
Hi, The CollectionAPI provides some more options that will prove to be very usefull to you: /admin/collections?action=CREATE&name=name&numShards=number&replicationFactor=number&maxShardsPerNode=number&createNodeSet=nodelist&collection.configName=configname Have a look at: https://cwiki.apache.org

Re: [ANNOUNCE] Apache Solr Reference Guide 4.5 Available

2013-11-18 Thread Uwe Reh
I'd like to read the guide as e-paper. Is there a way to obtain the document in the Format epub or odt. Trying to convert the PDF with Calibre, wasn't very satisfyingly. :-( Uwe Am 05.10.2013 14:19, schrieb Steve Rowe: The Lucene PMC is pleased to announce the release of the Apache Solr Refe

setNeedDocSet and queries cached in filter_cache

2013-11-18 Thread Daniel Rosher
Hi, We've written a few searchComponenets that make use of rb.setNeedDocSet(true); the trouble with this is that the query gets cached in the filter_cache, and we think are purging our more 'useful' docsets from the filter_cache. Has anyone else noticed this and has a useful remedy? We are curre

Re: [ANNOUNCE] Apache Solr Reference Guide 4.5 Available

2013-11-18 Thread Furkan KAMACI
Atlassian Jira has two options at default: exporting to PDF and exporting to Word. 2013/11/18 Uwe Reh > I'd like to read the guide as e-paper. Is there a way to obtain the > document in the Format epub or odt. > Trying to convert the PDF with Calibre, wasn't very satisfyingly. :-( > > Uwe > >

Re: [ANNOUNCE] Apache Solr Reference Guide 4.5 Available

2013-11-18 Thread Mark Miller
There appear to be plugins to do this, but since Apache hosts the wiki infra for us, we don’t get to toss in any plugins we want unfortunately. - Mark On Nov 18, 2013, at 8:16 AM, Uwe Reh wrote: > I'd like to read the guide as e-paper. Is there a way to obtain the document > in the Format epu

Re: setNeedDocSet and queries cached in filter_cache

2013-11-18 Thread Dmitry Kan
Hi, do you see the evidence of "purging" via the evictions on the cache? Dmitry On Mon, Nov 18, 2013 at 3:35 PM, Daniel Rosher wrote: > Hi, > > We've written a few searchComponenets that make use > of rb.setNeedDocSet(true); the trouble with this is that the query gets > cached in the filter_

Re: queries including time zone

2013-11-18 Thread Eric Katherman
Anybody have any additional suggestions for this TZ issue we're having? I've included the query below. The full debug output is in the gist link also included if you want to see it. As mentioned, the test solr installation has one document with a date that was set to the 15th, and when this q

Re: distributed search is significantly slower than direct search

2013-11-18 Thread Manuel Le Normand
Sure, I am out of office till end of week. I reply after i upload the patch

Re: Solr spatial search within the polygon

2013-11-18 Thread Smiley, David W.
Hi. It's clear there is an ordering problem in your latitudes and longitudes. If indeed you intend to index latitude 9.44Š and longitude 76.45Š as you said, then you are indexing it correctly. You may also choose to index in WKT format, which would be POINT(76.45 9.44) but either is fine. Howev

Re: exceeded limit of maxWarmingSearchers ERROR

2013-11-18 Thread Erick Erickson
You're using Solr 1.4? That's long enough ago that I've mostly forgotten the quirks there, sorry. Erick On Mon, Nov 18, 2013 at 2:38 AM, Loka wrote: > Hi Erickson, > > Thanks for your reply. > > Iam getting the following error with liferay tomcat. > > 2013/11/18 07:29:42 ERROR > com.liferay.po

getting matching term count for a query

2013-11-18 Thread Michael Sokolov
Some of our customers want to display a "number of matches" score next to each search result. I think what they want is to list the number of matches that will be displayed when the entire document is highlighted. But this can be slow to do for every search result (some documents can be very

Re: PDF indexing issues

2013-11-18 Thread Marcello Lorenzi
Hi, I have checked the PDF Jira issue but there isn't solution into this because some users experienced the same issue with different CMAP entries. Could it possible to update the PDFBOX library in the SolR installation? Thanks, Marcello On 11/15/2013 06:27 PM, Furkan KAMACI wrote: You shou

Listing Collections in Solr Cloud

2013-11-18 Thread Dave Seltzer
Hello, I have a need to dynamically add collections to Solr cloud. The collections API makes this quite simple. However, when I'm done adding the new collection I need to update an Alias to include the new collection. To do this I need a list of current collections, but I don't see a way to do th

Re: Parallelizing warmup queries

2013-11-18 Thread Chris Hostetter
: It looks like warmup queries execute sequentially. : : Considering servers have N CPU cores these days, would it make sense : to make them (optionally) run in parallel? This should help with : cases where warmup queries are CPU bound by letting Solr use more than : 1 thread and thus more than

Problem using splitBy to populate a multi valued field

2013-11-18 Thread lash20
Hi there, I'm having trouble using the splitBy functionality to populate a multi valued field from a pipe delimited datasource. My implementation seems to partially work for one of the field and does not the work for the the other field. An example of my implementation below. I have a db view wit

Re: Listing Collections in Solr Cloud

2013-11-18 Thread Anirudha Jadhav
you can use the following 2 ways 1. ZK client API you could just do a get_children on the zk node /collections/ to get all collections. or without ZK client API point this url at your solrCloud install http://host:port/solr/zookeeper?detail=true&path=%2Fcollections&_=1384801522456

Re: Listing Collections in Solr Cloud

2013-11-18 Thread Mark Miller
We should have a list command in the collections api. I can help if someone wants to make a JIRA issue. - Mark On Nov 18, 2013, at 2:11 PM, Anirudha Jadhav wrote: > you can use the following 2 ways > > 1. ZK client API >you could just do a get_children on the zk node > /collections/ to ge

Re: Listing Collections in Solr Cloud

2013-11-18 Thread Anirudha Jadhav
i'll create one, i'll reach you if I need anything. thanks On Mon, Nov 18, 2013 at 2:13 PM, Mark Miller wrote: > We should have a list command in the collections api. I can help if > someone wants to make a JIRA issue. > > - Mark > > On Nov 18, 2013, at 2:11 PM, Anirudha Jadhav wrote: > > > yo

Re: getting matching term count for a query

2013-11-18 Thread Michael Sokolov
OK -- I did find SOLR-1298 which explains how to request the function as a field value. Still looking for a function that does what I asked for ... On 11/18/2013 11:55 AM, Michael Sokolov wrote:

Re: queries including time zone

2013-11-18 Thread Chris Hostetter
: We're still not seeing the proper result. I've included a gist of the : query and its debug result. This was run on a clean index running 4.4.0 : with just one document. That document has a date of 11/15/2013 yet the : date in the included TZ it is the 14th but I still get that document :

RE: SolrCloud question

2013-11-18 Thread Beale, Jim (US-KOP)
Thanks Michael, I am having a terrible time getting this non-sharded index up. Everything I try leads to a dead-end. http://10.0.15.44:8511/solr/admin/collections?action=CREATE&name=tp&numShards=1&replicationFactor=5 it uses the solrconfig.xml from another core. That solrconfig.xml is deploye

Re: Is this a reasonable way to boost?

2013-11-18 Thread Chris Hostetter
: > I'm trying to boost results slightly on a price (not currency) field that : > are closer to a certain value. I want results that are not too expensive : > or too inexpensive to be favored. Here is what we currently are trying: : > : > bf=sub(1,abs(sub(15,price)))^0.2 Hmm... using sub() for

Re: SolrCloud question

2013-11-18 Thread Mark Miller
You shouldn’t be configuring the replication handler if you are using solrcloud. - Mark On Nov 18, 2013, at 3:51 PM, Beale, Jim (US-KOP) wrote: > Thanks Michael, > > I am having a terrible time getting this non-sharded index up. Everything I > try leads to a dead-end. > > http://10.0.15.44:

RE: SolrCloud question

2013-11-18 Thread Beale, Jim (US-KOP)
I shouldn't be configuring the replication handler? I didn't know that! The documentation describes how to do it, e.g., for Solr 4.6 https://cwiki.apache.org/confluence/display/solr/Index+Replication Now I'm evenmore confused than ever. If a replication handler isn't defined, then I get "repl

Listing collection fields

2013-11-18 Thread youknow...@heroicefforts.net
I'd like to get the complete field list for a collection, including dynamic fields. Is issuing a Luke request still the recommended way for retrieving this data? -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.

NPE in function query, was: Re: getting matching term count for a query

2013-11-18 Thread Michael Sokolov
So for posterity, this what I ended up doing is below. But I have a problem I don't understand; when I use fl=*,hitcount(), I get the results I expect, but when I use fl=*,hitcount(),hitcount('fulltext_t'), I get an NPE in Solr. This is with Solr 4.2.0. Is there a known bug? I googled a bit

Re: SolrCloud question

2013-11-18 Thread Shawn Heisey
On 11/18/2013 3:53 PM, Beale, Jim (US-KOP) wrote: > I shouldn't be configuring the replication handler? I didn't know that! > > The documentation describes how to do it, e.g., for Solr 4.6 > > https://cwiki.apache.org/confluence/display/solr/Index+Replication > > Now I'm evenmore confused than

Re: NPE in function query, was: Re: getting matching term count for a query

2013-11-18 Thread Michael Sokolov
OK, nevermind - I was the one adding the null --- working example below. Last question -- does anybody know if it's possible to rewrite MultiTermQueries in this context? I don't see how to get a hold of an IndexReader to do that, but if it were possible, it would enable this function to handl

deleting a doc inside a custom UpdateRequestProcessor

2013-11-18 Thread Peyman Faratin
Hi I am building a custom UpdateRequestProcessor to intercept any doc heading to the index. Basically what I want to do is to check if the current index has a doc with the same title (i am using IDs as the uniques so I can't use that, and besides the logic of checking is a little more complicat

ERROR org.apache.solr.servlet.SolrDispatchFilter â null:org.apache.solr.common.SolrException: SolrCore 'ecps-shard1-replica-1' is not available due to init failure: Could not start JMX monitoring

2013-11-18 Thread Vijay Ram
Dear All, I am looking for your support on this, recently we have added a two new fileds in the scheam.xml file. After this additon, I have restarted the tomcat service, its throwing the below error message at console, Can you please provide your support, Web Console error message here -> SolrC

Re: ERROR org.apache.solr.servlet.SolrDispatchFilter â null:org.apache.solr.common.SolrException: SolrCore 'ecps-shard1-replica-1' is not available due to init failure: Could not start JMX monitoring

2013-11-18 Thread Erick Erickson
First thing I would do is look for solr logging. In Tomcat, that goes to catalina.out unless you've configured it differently. "What was the last thing you changed?" Apparently schema.xml. I hypothesize that you've introduced, say, a syntax error when you added the two fields and what you're seein

Chegg is looking for a search engineer

2013-11-18 Thread Walter Underwood
I work at Chegg.com and I really like it, but we have more search work than I can do by myself, so we are hiring a senior software engineer for search. The search services include: textbooks (rental and purchase), user-generated homework Q&A, expert-written textbook solutions, search within e-bo

How to get score with getDocList method Solr API

2013-11-18 Thread Amit Aggarwal
Hello All, I am trying to develop a custom request handler. Here is the snippet : // returnMe is nothing but a list of Document going to return try { // FLAG ??? DocList docList = searcher.getDocList(parsedQuery, parsedFilterQueryList, S

Re: deleting a doc inside a custom UpdateRequestProcessor

2013-11-18 Thread Liu Bo
hi, you can try this in your checkIfIsDuplicate(), build a query based on your title, and set it to a delete command: //build your query accordingly, this depends on how your tittle is indexed, eg analyzed or not. be careful with it and do some test. DeleteUpdateCommand

Problems bulk adding documents to Solr Cloud in 4.5.1

2013-11-18 Thread Dave Seltzer
Hello, I'm having quite a bit of trouble indexing content in Solr Cloud. I build a content indexer on top of the REST API designed to index my data quickly. It was working very well indexing about 100 documents per "" instruction. After some tweaking of the schema I switched on a few more servers

Re: Listing Collections in Solr Cloud

2013-11-18 Thread Dave Seltzer
Thanks for the workaround advice on using the Zookeeper API. LIST is would definitely be at home inside the Collections API. Created https://issues.apache.org/jira/browse/SOLR-5466 in response to this thread. -Dave On Mon, Nov 18, 2013 at 2:15 PM, Anirudha Jadhav wrote: > i'll create one, i'

Re: Chegg is looking for a search engineer

2013-11-18 Thread Tim Casey
I have been chasing the chegg recruiters. I expect to here back from Glenn sometime tomorrow. tim On Mon, Nov 18, 2013 at 6:37 PM, Walter Underwood wrote: > I work at Chegg.com and I really like it, but we have more search work > than I can do by myself, so we are hiring a senior software engi

Re: Boosting documents by categorical preferences

2013-11-18 Thread Amit Nithian
Hey Chris, Sorry for the delay and thanks for your response. This was inspired by your talk on boosting and biasing that you presented way back when at a meetup. I'm glad that my general approach seems to make sense. My approach was something like: 1) Look at the categories that the user has pref

Defining a boosted filed in schema.xml

2013-11-18 Thread Siamak Kolahi
Hi there, Is is possible to define a field type that is inherently boosted? I am aware of the query time boosting and index-time boosting in update messages. But I am looking to define a field that is boosted by definition, and the boost score does not have to be given at updating message. That so

Re: Defining a boosted filed in schema.xml

2013-11-18 Thread Alexandre Rafalovitch
Is there a more specific reason why query time boosting is not serving your needs? If you define it in default parameters or in invariable parameters, it will apply the boosting for each query that goes through that handler endpoint. E.g. for edismax: http://wiki.apache.org/solr/ExtendedDisMax#qf_.