Continue committing after out of memory of contrib library. (tika)

2013-05-14 Thread David Vdd
I'm using a combination of tika and custom code to extract text from files. (with solrj) I was looking at the amount of files I had in my index and noticed many of them where missing. Then I went to the solradmin panel and noticed this in the logfiles: SEVERE SolrCore java.

Re: Solrj. How to set different default field on a (join)filter query?

2013-02-27 Thread David Vdd
Hi, I think I fixed it by combining the join with edismax. sq.addFilterQuery{!join fromIndex=pageCore from=pageId to=fileId }{!edismax qf=description}Solr rocks) It seems to work now. -- View this message in context: http://lucene.472066.n3.nabble.com/Solrj-How-to-set-different-default-fiel

Solrj. How to set different default field on a (join)filter query?

2013-02-26 Thread David Vdd
Hi, I'm wondering if it's possible to use a default field on a filter query? This is what I'm doing. (shortend example in solrJ) String qry = "{!qJoin}" + searchText; sq.setQuery(qry); sq.setParam("df", "pageTxt"); sq.addFilterQuery("{!join fromInd

Re: How to combine Qparsers in a plugin?

2013-01-22 Thread David Vdd
Yes it worked like you explained. This is my new query class: public class QObject extends org.apache.lucene.search.Query { Query q; public QObject(Query q) { this.q = q; } @Override public void extractTerms(Set terms) { q.ex