From ecca050bbc8e9e20ab0f82e3debbed621ed1648b Mon Sep 17 00:00:00 2001 From: anupsawant Date: Tue, 24 May 2011 19:17:46 +0000 Subject: [PATCH] --- .../vitro/webapp/search/solr/IndividualToSolrDocument.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/search/solr/IndividualToSolrDocument.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/search/solr/IndividualToSolrDocument.java index 873b65175..d748c077a 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/search/solr/IndividualToSolrDocument.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/search/solr/IndividualToSolrDocument.java @@ -71,8 +71,9 @@ public class IndividualToSolrDocument implements Obj2DocIface { String classPublicNames = ""; SolrInputDocument doc = new SolrInputDocument(); - float beta = searchQueryHandler.calculateBeta(ent.getURI()); - doc.addField(term.BETA,beta); + //float beta = searchQueryHandler.calculateBeta(ent.getURI()); + //doc.addField(term.BETA,beta); + float beta =1; //DocId String id = ent.getURI();