Hi, I am entirely new to the world of SOLR programming and I have the following questions:
In addition to our regular searches we need to implement a specialised form of range search and ranking. We have implemented a CustomScoreQuery and a CustomScoreProvider. I now have a few questions: 1) Where and how do we let SOLR know that it should use this? (I presume that will be some XML config file.) 2) How do we "tag" our special queries to switch to the custom implementation. Furthermore, only a small subset of our data will have the database field relevant to this type of query set. A problem that I can see is that we want SOLR to prefilter, or suppress, any records that have no data in this field and, if the field is non-empty, to call a function provided by us to let it know whether to include said record in the result set or not. Also, any tips on how to develop and debug this? I am using the Linux command-line and Emacs. I am linking against SOLR by using "javac -cp solr-core-4.2.1.jar:. my_code.java". It is probably not relevant but, I might mention it anyway: We are using SOLR as a part of VuFind. I'd be greatful for any suggestions. --Johannes -- Dr. Johannes Ruscheinski Universitätsbibliothek Tübingen - IT-Abteilung - Wilhelmstr. 32, 72074 Tübingen Tel: +49 7071 29-72820 FAX: +49 7071 29-5069 Email: johannes.ruschein...@uni-tuebingen.de