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

Having highest rank tf-idf terms for each document at query time

2015-02-08 Thread Ali Nazemian
Dear all, Hi, I was wondering how can I extract the k highest rank tf-idf terms for each document at query time? If such information is not available in solr by default how can I implement that? (any example or similar scenario would be appropriate) Best regards. -- A.Nazemian

Re: Problem with faceting

2015-02-08 Thread Erick Erickson
You might try sending the request to each individual shard with distrib=false appended to see if you somehow indexed the same docs to each shard individually, although that doesn't really make sense given the fact that numFound is 2. Best, Erick On Fri, Feb 6, 2015 at 8:10 AM, Alvaro Cabrerizo

Transaction logs not getting deleted

2015-02-08 Thread vidit.asthana
Dear Experts, I have a solrcloud setup - 8 machines, 7 collections(replicationFactor=2, numShards=8). Transaction log for one of the replica of a collection is not getting deleted and has grown to ~4GB. Here's the stats for this collection: *Solr Version:* 4.10.0 *NumDocs:* 33.5 million

Re: Changing contextRoot from /solr to /

2015-02-08 Thread Avanish Raju
Thanks a lot, guys!! Alexandre's reply did the trick. Just changed contexts/solr-jetty-context.xml. On Fri Feb 06 2015 at 7:30:33 AM Walter Underwood wun...@wunderwood.org wrote: Put Apache in front of it and rewrite all the URLs. wunder Walter Underwood wun...@wunderwood.org

Re: Query Elevation Component only elevates one document in elevateIds list

2015-02-08 Thread Charles Sanders
Ah that did it. I was adding them as an array of strings. Actually setting it in SolrJ. params.set(QueryElevationParams.IDS, sa); Where sa is a String[]. Don't do that. :) Much thanks Joel. - Original Message - From: Joel Bernstein joels...@gmail.com To:

Re: Is it possible to load new elevate.xml on the fly?

2015-02-08 Thread toramanan
Hi - I am looking for similar feature and we are using 4.10.3. We have a set of terms that are elevated through the xml config. But our web masters want to update them on the fly without updating the file manually. Is there a way to do this in the newer version of Solr. -- View this message in

43sec commit duration - blocked by index merge events?

2015-02-08 Thread Gili Nachum
Hello, During a load test I noticed a commit that took 43 seconds to complete (client hard complete). Is this to be expected? What's causing it? I have a pair of machines hosting a 128M docs collection (8 shards, replication factor=2). Could it be merges? In Lucene merges happen async of commit

Indexing Custom JSON with SolrJ

2015-02-08 Thread Bryan Bende
Does SolrJ have anything that allows you to change the update handler and add something besides a SolrInputDocument? I'm trying to figure out how to add JSON documents using the custom JSON update handler (http://lucidworks.com/blog/indexing-custom-json-data/), but doing it through SolrJ in order

Re: Trending functionality in Solr

2015-02-08 Thread Shawn Heisey
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 searched terms is not possible is it possible to at least the get results for the last 100

Re: Transaction logs not getting deleted

2015-02-08 Thread Nishanth S
Are you saying that you are not able index at ll for the past 2 days?.Can you tell me if leaders for all shards are up.There could be large tlog files when you set auto commit to a higher value.Check in the logs if tlog is getting replayed.I have used only 4.4 and with it the tlog replay was

Re: Have anyone used Automatic Phrase Tokenization (AutoPhrasingTokenFilterFactory) ?

2015-02-08 Thread trhodesg
Thanks to everyone for the thought, time and effort put into AutoPhrasingTokenFilter(APTF)! It's a real lifesaver. While trying to add APTF to my indexing, i discovered that the original (TS) version throws an exception while indexing a 100MB PDF. The error isException writing document to the

Re: [MASSMAIL]Re: Trending functionality in Solr

2015-02-08 Thread Jorge Luis Betancourt González
For a project I'm working on, what we do is store the user's query in a separated core that we also use to provide an autocomplete query functionality, so far, the frontend app is responsible of sending the query to Solr, meaning: 1. execute the query against our search core and 2. send an

Delete during Delta-import

2015-02-08 Thread Rajesh
I'm deleting records in SOLR using deletedPkQuery. While executing delta import in SOLR admin, I can see 1 document deleted. But when I query I'm getting that document. I've Commit option checked in SOLR admin. My deletedPkQuery is simple as follows. Am I missing anything here.

Re: [MASSMAIL]Re: Trending functionality in Solr

2015-02-08 Thread ralph tice
You might want to also look at Trulia's Thoth project https://github.com/trulia/thoth-ml/ -- it doesn't supply this feature out of the box, but it gives you a nice framework for implementing it. On Sun, Feb 8, 2015 at 5:07 PM, Jorge Luis Betancourt González jlbetanco...@uci.cu wrote: For a