Query Relevancy tuning...

2013-11-09 Thread Chris
Hi Gurus, I have a relevancy ranking questrion - 1. I have fields - title, domain, domainrank in index. 2. I am looking to maybe load a txt file of prefered domains at solr startup & boost documents from those domains if keyword matches text in title or domain (if it exactly matches the domain,

Re: new collection clustering class not found.

2013-11-09 Thread Shawn Heisey
On 11/9/2013 6:26 PM, mike st. john wrote: > I have a cluster with several collections using the same config in zk, > when i add a new collection through the collection api it > throws org.apache.solr.common.SolrException: Error loading class > 'solr.clustering.ClusteringComponent' > > > when i q

new collection clustering class not found.

2013-11-09 Thread mike st. john
I have a cluster with several collections using the same config in zk, when i add a new collection through the collection api it throws org.apache.solr.common.SolrException: Error loading class 'solr.clustering.ClusteringComponent' when i query all the other collections, clustering works fine, i

count links pointing to id

2013-11-09 Thread Andreas Owen
I have a multivalue field with links pointing to ids of solrdocuments. I would like calculate how many links are pointing to each document und put that number into the field links2me. How can I do this, I would prefer to do it with a query and the updater so solr can do it internaly if possible?

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Nea
Thanks for ur reply. I got it. My old implementation on solr 3.1 was multivalued string field with 1_catL1, 2_catL2, and doing it with prefix and tagging. I thought at 4.5.1, can be a nice way doing it :( On Nov 9, 2013, at 20:10, Upayavira wrote: > You want to use descendent_path. If you hav

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Upayavira
You want to use descendent_path. If you have a delimiter of /, then: books/it/programming/java would become: books books/IT books/IT/programming books/IT/programming/java Meaning you can facet on this field. If you wish to get a specific level only, then you need to either do your o

Re: Solr grouping performance porblem

2013-11-09 Thread Joel Bernstein
Shamik, The CollapsingQParserPlugin will be available in Solr 4.6 and it should perform much better when collapsing on a high cardinality field. The 4.6 code doesn't directly port back to Solr 4.4 though due to some changes in the build for 4.6. The jira ticket has a conversation about this though

Re: Merging shards and replicating changes in SolrCloud

2013-11-09 Thread Shalin Shekhar Mangar
Comments inline: On Fri, Nov 8, 2013 at 8:09 PM, michael.boom wrote: > Here's the background of this topic: > I have setup a collection with 4 shards, replicationFactor=2, on two > machines. > I started to index documents, but after hitting some update deadlocks and > restarting servers my shard

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Nea
HierarchicalFaceting documentation does not clearly explain how to index and query field types "descendent_path and ancestor_path” included in schema.xml. Any help would be greatly appreciated.

Re: core swap duplicates core entries in solr.xml

2013-11-09 Thread Alan Woodward
Hi Jeremy, Could you open a JIRA ticket for this? Thanks, Alan Woodward www.flax.co.uk On 8 Nov 2013, at 21:16, Branham, Jeremy [HR] wrote: > When performing a core swap in SOLR 4.5.1 with persistence on, the two core > entries that were swapped are duplicated. > > Solr.xml > > > > >

Re: character encoding issue...

2013-11-09 Thread Chris
I tried a lot of things and almost am at my wit's end :( Here is the code I used to get the strings - String htmlContent = readPage(page.getWebURL().getURL()); I even tried - Document doc = Jsoup.parse(new URL(url).openStream(), "UTF-8", url); String htmlContent = doc.html(); & Documen

Re: HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Upayavira
http://wiki.apache.org/solr/HierarchicalFaceting Upayavira On Sat, Nov 9, 2013, at 12:09 PM, Nea wrote: > Hi Everybody, > > I’m using Solr 4.5.1 and I need to achieve a HierarchicalFaceting for > leveled categories. Someone can explain me how schema.xml and query > should be? > > > My category

HierarchicalFaceting for Ecommerce Categories

2013-11-09 Thread Nea
Hi Everybody, I’m using Solr 4.5.1 and I need to achieve a HierarchicalFaceting for leveled categories. Someone can explain me how schema.xml and query should be? My category path is; Cameras > Camcorders[ 5 items] Cameras > Digital Cameras

Customer query operator in solr

2013-11-09 Thread lampa24
I use solr 4.5.1 My data structure contains records and subrecords. Every record is constructed from subrecords. Exist a lot of kind of subrecords. Exemple in XML : 10 11 Kris//SR1 is name Jenner Kardashian 10 12 USA Los-Angeles//SR5 is address 125 street 98532