Re: custom plugin version

2017-02-06 Thread Zaccheo Bagnati
g on your needs. > > Best, > Erick > > On Mon, Feb 6, 2017 at 4:04 AM, Zaccheo Bagnati <zacch...@gmail.com> > wrote: > > Thank you all for your answers. > > Directory and directive suggestions are clear. > > Can you expand a little bit about IIRC method? I'm not so

Re: custom plugin version

2017-02-06 Thread Zaccheo Bagnati
on of > custom components, but you could adopt the same approach of Lucene, with > something like a Version class that drives the behavior of your component. > >> In this way you will have > >> > >> * always one jar (better: unique classes FQNs), so no class

custom plugin version

2017-02-03 Thread Zaccheo Bagnati
Hi all, I developed a custom DocTransformer that is loaded from a .jar in the core "lib" directory. It works but I have now a problem with versioning: 1. if lib directory contains different versions of the same .jar which one is loaded? I tried putting both myplugins-1.0.0.jar and

Re: join and faceting

2016-05-26 Thread Zaccheo Bagnati
Thank you for your answer but I'm not sure I've understood: document.type is not in the same core as annotations, how can I facet on that field? Il giorno gio 26 mag 2016 alle ore 14:06 Upayavira <u...@odoko.co.uk> ha scritto: > > > On Thu, 26 May 2016, at 01:02 PM, Zaccheo Bagnat

join and faceting

2016-05-26 Thread Zaccheo Bagnati
Hi all, I have a SOLR core containing documents: document (id, type, text) and a core containing annotations (each document has 0 or more annotations): annotation (id, document_id, user, text) I can filter annotations on document fields using JoinQueryParser but how can I create a faceting?

Re: set session variable in mysql importHandler

2016-04-22 Thread Zaccheo Bagnati
I haven't tested either though. > > Regards, >Alex. > > Newsletter and resources for Solr beginners and intermediates: > http://www.solr-start.com/ > > > On 20 April 2016 at 23:49, Shawn Heisey <apa...@elyograg.org> wrote: > > On 4/20/2016 6:01 AM, Zaccheo Ba

set session variable in mysql importHandler

2016-04-20 Thread Zaccheo Bagnati
Hi all, I configured an ImportHandler on a MySQL table using jdbc driver. I'm wondering if is possible to set a session variable in the mysql connection before executing queries. e. g. "SET SESSION group_concat_max_len = 100;" Thanks Bye Zaccheo

Re: maxBooleanClauses in solrconfig.xml is ignored

2016-04-07 Thread Zaccheo Bagnati
arsed_filter_queries value seems the same for the version with and without quotes. (I'm using the condition as a fq) However now it works Thanks Il giorno gio 7 apr 2016 alle ore 16:28 Shawn Heisey <apa...@elyograg.org> ha scritto: > On 4/7/2016 8:05 AM, Zaccheo Bagnati

maxBooleanClauses in solrconfig.xml is ignored

2016-04-07 Thread Zaccheo Bagnati
Hi all, I'm trying to set the maxBooleanClauses parameter in solrconfig.xml to 1024 but I still have "Too many boolean clauses" error even with 513 terms (with 512 terms it works). I've read in the documentation ( https://cwiki.apache.org/confluence/display/solr/Query+Settings+in+SolrConfig) the

Re: Indexing books, chapters and pages

2016-03-02 Thread Zaccheo Bagnati
If someone of you cares about his Stackoverflow reputation and has time to do it I also opened a question there: http://stackoverflow.com/questions/35722672/solr-schema-to-model-books-chapters-and-pages. Thanks again to everybody Il giorno mer 2 mar 2016 alle ore 09:42 Zaccheo Bagnati <za

Re: Indexing books, chapters and pages

2016-03-02 Thread Zaccheo Bagnati
Alex. > > > Newsletter and resources for Solr beginners and intermediates: > http://www.solr-start.com/ > > > On 2 March 2016 at 00:50, Zaccheo Bagnati <zacch...@gmail.com> wrote: > > Thank you, Jack for your answer. > > There are 2 reasons: > > 1. th

Re: Indexing books, chapters and pages

2016-03-02 Thread Zaccheo Bagnati
okens. > > Use highlighting to return matches and make sure fragment size is large > > enough to get page break token. In such scenario you should use slop for > > phrase searches... > > > > More I write it, less I like it, but will not delete... > > > > Regards,

Re: Indexing books, chapters and pages

2016-03-02 Thread Zaccheo Bagnati
ches and make sure fragment size > is large enough to get page break token. In such scenario you should use > slop for phrase searches... > > More I write it, less I like it, but will not delete... > > Regards, > Emir > > On 01.03.2016 12:56, Zaccheo Bagnati wrote: &

Re: Indexing books, chapters and pages

2016-03-02 Thread Zaccheo Bagnati
token. > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > > > > On Mar 1, 2016, at 5:50 AM, Zaccheo Bagnati <zacch...@gmail.com> wrote: > > > > Thank you, Jack for your answer. > > There are 2 rea

Re: Indexing books, chapters and pages

2016-03-01 Thread Zaccheo Bagnati
apter. > > > -- Jack Krupansky > > On Tue, Mar 1, 2016 at 8:08 AM, Zaccheo Bagnati <zacch...@gmail.com> > wrote: > > > Original data is quite well structured: it comes in XML with chapters and > > tags to mark the original page breaks on the paper version.

Re: Indexing books, chapters and pages

2016-03-01 Thread Zaccheo Bagnati
< jack.krupan...@gmail.com> ha scritto: > To start, what is the form of your input data - is it already divided into > chapters and pages? Or... are you starting with raw PDF files? > > > -- Jack Krupansky > > On Tue, Mar 1, 2016 at 6:56 AM, Zaccheo Bagnati <zacch...@gm

Re: Indexing books, chapters and pages

2016-03-01 Thread Zaccheo Bagnati
t; be the child documents. > That way for a match in any chapter, you also get the individual pages as > documents for presentation. > > On Tue, 1 Mar 2016, 17:26 Zaccheo Bagnati, <zacch...@gmail.com> wrote: > > > Hi all, > > I'm searching for ideas on how to define sch

Indexing books, chapters and pages

2016-03-01 Thread Zaccheo Bagnati
Hi all, I'm searching for ideas on how to define schema and how to perform queries in this use case: we have to index books, each book is split into chapters and chapters are split into pages (pages represent original page cutting in printed version). We should show the result grouped by books and

Re: migrating solr 4.2.1 to 5.X

2016-01-27 Thread Zaccheo Bagnati
Hi, I apologize for connecting to this thread but I'm interested in this topic as well. I think we have a similar configuration: solr 4.8, standard master/slave replication, data is indexed on master and then replicated to slave. I'm investigating how to migrate to solr 5.*. Erick, you say that