Re: Solr defining Schema structure trouble.

2012-11-21 Thread denl0
isn't it possible to combine the document related values and page related values at query time? Book1 Page1 with ref to book1 Page2 with ref to book2 When querying making all pages (page1+book1) and (page2+book1) Or would this be hard to achieve. I'm pretty sure they wan't to search on book rel

Re: group.ngroups behavior in response

2013-01-17 Thread denl0
There's a parameter to enable that. :D In solrJ solrQuery.setParam("group.ngroups", true); http://wiki.apache.org/solr/FieldCollapsing -- View this message in context: http://lucene.472066.n3.nabble.com/group-ngroups-behavior-in-response-tp4033924p4034187.html Sent from the Solr - User maili

Re: Solr getting scores of multiple core queries?

2013-01-18 Thread denl0
K since I found out it didn't work I have merged my two cores back to 1. But now the scores still don't work on the join? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-getting-scores-of-multiple-core-queries-tp4034088p4034481.html Sent from the Solr - User mailing lis

How to combine Qparsers in a plugin?

2013-01-21 Thread denl0
I have made a Qparserplugin to get querytimejoin from lucene in to Solr. But I'm facing 2 major issues. This is the code I'm using (With the right jars added to config etc it's working.) public class TestParserPlugin extends QParserPlugin { @Override public QParser createParser(String string, Sol

Re: How to combine Qparsers in a plugin?

2013-01-21 Thread denl0
It's working but I have a new problem. The first query I use with the TestQueryParser always works. But the second one always gives the same result. After restarting solr it works once again. Do I need to clear a cache/or something esle before reusing my query parser? -- View this message in

Re: How to combine Qparsers in a plugin?

2013-01-21 Thread denl0
I build my query like this: Query q = QParser.getParser(qstr, "edismax", req).getQuery(); return JoinUtil.createJoinQuery("pageFileId", true, "fileId", q, searcher, ScoreMode.Max); Is it possible to set that the query never equals. Here's an updated version of my co

Re: Solr defining Schema structure trouble.

2012-11-15 Thread denl0
Yes this is what I'm trying to do. But stuff related to the document like language/title/...(i got way more fields) are stored many times. Each page has a part of data that's the same is it possible to seperate that data? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr