Re: Tags and Folksonomies

2012-03-24 Thread Richard Noble
Hi

I have not actually done this yet, but will need to do something similar.
We will also be using user tagging, and ratings to influence relevancy for
the searches.

I take it that you want something like if a document has been tagged 8
times with the tag "tagvalue"
but only 4 times with the tag "othervalue" then you want to boost rate the
tag tagvalue higher?

The route I plan to go down would be to store the tag value count against
the document, and
use a (possibly custom) function to boost accordingly.

Just a theory at this point, and I am sure that there may be better ways.

Hope it helps

Richard


On Fri, Mar 23, 2012 at 5:44 PM, Nishant Chandra
wrote:

> Suppose I have content which has title and description. Users can tag
> content
> and search content based on tag, title and description. Tag has more
> weightage.
>
> Any inputs on how indexing and retrieval will work given there is content
> and tags using Solr? Has anyone implemented search based on collaborative
> tagging?
>
> Thanks,
> Nishant
>



-- 
*nix has users, Mac has fans, Windows has victims.


Re: Apache solr issue after configuration

2012-03-16 Thread Richard Noble
Solr newbie here, but this looks familier.

Another thing to make sure of is that the plugin jars are not ialready
loaded from the standard java classpath.
I had a problem with this in that some jars were being loaded by the
standard java classloader,
and my some other plugins were being loaded by Solr,
so QueryResponseWriter was not an instance of
VelocityResponseWriter due to the classloader differences.

They should be loaded by Solr's classloader.

Regards

Richard

On Fri, Mar 16, 2012 at 1:24 PM, Erick Erickson wrote:

> At a guess, you don't have any paths to solr dist. Try copying all the
> other lib
> directives from the example (not core) dir (adjusting paths as necessary).
> The
> error message indicates you aren't getting to
> /dist/apache-solr-velocity-3.5.0.jar
>
> Best
> Erick
>
> On Thu, Mar 15, 2012 at 9:48 AM, ViruS  wrote:
> > Hello,
> >
> > I have still same problem after installation.
> > Files are loaded:
> >
> > ~/appl/apache-solr-3.5.0/example $ java -Dsolr.solr.home=multicore/ -jar
> > start.jar 2>&1 | grep contrib
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/velocity-tools-2.0.jar'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/commons-beanutils-NOTICE.txt'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/velocity-tools-NOTICE.txt'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/commons-collections-NOTICE.txt'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/velocity-1.6.4.jar'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/velocity-NOTICE.txt'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/velocity-tools-LICENSE-ASL.txt'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/commons-collections-3.2.1.jar'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/commons-beanutils-1.7.0.jar'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/commons-beanutils-LICENSE-ASL.txt'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/velocity-LICENSE-ASL.txt'
> > to classloader
> > INFO: Adding
> >
> 'file:/home/virus/appl/apache-solr-3.5.0/contrib/velocity/lib/commons-collections-LICENSE-ASL.txt'
> > to classloader
> >
> >
> > my config multicore/ac/conf/solrconfig.xml
> >
> > 
> >  LUCENE_35
> >  
> > ...
> >  > enable="true"/>
> > 
> >
> > And I still get error:
> >
> > INFO: [ac] Opening new SolrCore at multicore/ac/,
> > dataDir=multicore/ac/data/
> > 2012-03-15 13:18:11 org.apache.solr.core.JmxMonitoredMap 
> > INFO: No JMX servers found, not exposing Solr information with JMX.
> > 2012-03-15 13:18:11 org.apache.solr.common.SolrException log
> > SEVERE: org.apache.solr.common.SolrException: Error Instantiating
> > QueryResponseWriter, solr.VelocityResponseWriter is not a
> > org.apache.solr.response.QueryResponseWriter
> >at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:427)
> > ...
> >
> > What's wrong?
> >
> > Thanks in advanced for help!
> >
> >
> >
> > --
> > Piotr (ViruS) Sikora
> > vi...@cdt.pl
> > svi...@gmail.com
> > JID: vi...@ipc.net.pl
>



-- 
*nix has users, Mac has fans, Windows has victims.