Update QParserPlugin containing FilteredQuery to Solr 5.5 - HowTo?

2016-07-12 Thread Oliver Obenland
Hi, we developed a custom QParserPlugin for Solr 4.3. This QParser is for comparing the numeric values of the documents with numeric values of the search query. The first step was to reduce the number of documents by pre parsing the request and creating a lucene query: final String

Solr 'rq' parameter with QParserPlugin

2015-09-17 Thread Ajinkya Kale
Hi all, I have an existing custom QParserPlugin which uses my custom implementation of the CustomScoreQuery in its parse() method. I am trying to see if I can use this with the rq parameter to re-rank the top N documents after the first default ranking. All I found till now is you can use either

Re: How to register a custom QParserPlugin

2015-04-30 Thread Oliver Obenland
Hi Hoss, thank you for your help. This helps a lot. I can see the plugin neither in the log nor in the plugin list, but it works now (got an exception from our class, so I know it'll be called). Thanks a lot! Oliver Am 29.04.2015 um 18:40 schrieb Chris Hostetter: : snippet queryparser

Re: How to register a custom QParserPlugin

2015-04-29 Thread Chris Hostetter
: snippet queryparser class=ower.impl.MyQParserPlugin name=myparser / to : vufind/solr/biblio/conf/sorconfig.xml. the correct syntax should be... queryParser class=ower.impl.MyQParserPlugin name=myparser / ...note the P If it's loaded properly, you should see mention of MyQParserPlugin in

How to register a custom QParserPlugin

2015-04-29 Thread Oliver Obenland
Hi, we are trying to implement a custom QParserPlugin following this tutorial: http://spykem.blogspot.de/2013/06/plug-in-external-score-to-solr.html. We are using SOLR with VuFind. The implementation is done, the jar is located at vufind/solr/lib/ where other jars seem to be located. Then we

Re: QParserPlugin question

2014-10-24 Thread Peter Keegan
as defaults/appens in configuration) or just the explicit params included in the request -- but there's no way for a QParserPlugin to change what the raw query param strings are -- the query it produces might not even have a meaningful toString. the params in the header are there for the very explicit

QParserPlugin question

2014-10-22 Thread Peter Keegan
I have a custom query parser that modifies the filter query list based on the keyword query. This works, but the 'fq' list in the responseHeader contains the original filter list. The debugQuery output does display the modified filter list. Is there a way to change the responseHeader? I could

Re: QParserPlugin question

2014-10-22 Thread Ramzi Alqrainy
I don't know why you need to change it ? you can use omitHeader=true on the URL to remove header if you want. -- View this message in context: http://lucene.472066.n3.nabble.com/QParserPlugin-question-tp4165368p4165373.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: QParserPlugin question

2014-10-22 Thread Peter Keegan
:10 PM, Ramzi Alqrainy ramzi.alqra...@gmail.com wrote: I don't know why you need to change it ? you can use omitHeader=true on the URL to remove header if you want. -- View this message in context: http://lucene.472066.n3.nabble.com/QParserPlugin-question-tp4165368p4165373.html Sent from

Re: QParserPlugin question

2014-10-22 Thread Peter Keegan
if you want. -- View this message in context: http://lucene.472066.n3.nabble.com/QParserPlugin-question-tp4165368p4165373.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: QParserPlugin question

2014-10-22 Thread Chris Hostetter
-- but there's no way for a QParserPlugin to change what the raw query param strings are -- the query it produces might not even have a meaningful toString. the params in the header are there for the very explicit reason of showing you exactly what input was used to produce this request -- if plugins

Re: Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-24 Thread Umesh Prasad
Hi Joel, Had missed this email .. Some issue with my gmail setting. The reason CollapsignQParserPlugin is more performant than regular grouping is because 1. QParser refers to global ords for group.field and avoids storing strings in a set. This has two advantage. a) Terms of memory

Re: Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-19 Thread Umesh Prasad
Continuing the discussion on mailing list from Jira. An Example *id group f1 f2*1 g1 5 10 2 g1 5 1000 3 g1 5 1000 4 g1 10 100 5 g2

Re: Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-19 Thread Joel Bernstein
Umesh, this is a good summary. So, the question is what is the cost (performance and memory) of having the CollapsingQParserPlugin choose the group head by using the Solr sort criteria? Keep in mind that the CollapsingQParserPlugin's main design goal is to provide fast performance when

Re: Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-14 Thread Umesh Prasad
Thanks Joel for the quick response. I have opened a new jira ticket. https://issues.apache.org/jira/browse/SOLR-6168 On 13 June 2014 17:45, Joel Bernstein joels...@gmail.com wrote: Let's open a new ticket. Joel Bernstein Search Engineer at Heliosearch On Fri, Jun 13, 2014 at 8:08 AM,

Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-13 Thread Umesh Prasad
The patch in SOLR-5408 fixes the issue with sorting only for two sort fields. Sorting still breaks when 3 or more sort fields are used. I have attached a test case, which demonstrates the broken behavior when 3 sort fields are used. The failing test case patch is against Lucene/Solr 4.7 revision

Re: Bug in Collapsing QParserPlugin : Sort by 3 or more fields is broken

2014-06-13 Thread Joel Bernstein
Let's open a new ticket. Joel Bernstein Search Engineer at Heliosearch On Fri, Jun 13, 2014 at 8:08 AM, Umesh Prasad umesh.i...@gmail.com wrote: The patch in SOLR-5408 fixes the issue with sorting only for two sort fields. Sorting still breaks when 3 or more sort fields are used. I have

Contribute QParserPlugin

2014-05-28 Thread Pawel Rog
Hi, I need QParserPlugin that will use Redis as a backend to prepare filter queries. There are several data structures available in Redis (hash, set, etc.). From some reasons I cannot fetch data from redis data structures, build and send big requests from application. That's why I want to build

Re: Contribute QParserPlugin

2014-05-28 Thread Alan Woodward
Hi Pawel, The easiest thing to do is to open a JIRA ticket on the Solr project, here: https://issues.apache.org/jira/browse/SOLR, and attach your patch. Alan Woodward www.flax.co.uk On 28 May 2014, at 16:50, Pawel Rog wrote: Hi, I need QParserPlugin that will use Redis as a backend

Re: Contribute QParserPlugin

2014-05-28 Thread Otis Gospodnetic
, and attach your patch. Alan Woodward www.flax.co.uk On 28 May 2014, at 16:50, Pawel Rog wrote: Hi, I need QParserPlugin that will use Redis as a backend to prepare filter queries. There are several data structures available in Redis (hash, set, etc.). From some reasons I cannot fetch

Re: Contribute QParserPlugin

2014-05-28 Thread Alexandre Rafalovitch
On 28 May 2014, at 16:50, Pawel Rog wrote: Hi, I need QParserPlugin that will use Redis as a backend to prepare filter queries. There are several data structures available in Redis (hash, set, etc.). From some reasons I cannot fetch data from redis data structures, build and send big

Re: Contribute QParserPlugin

2014-05-28 Thread Otis Gospodnetic
, The easiest thing to do is to open a JIRA ticket on the Solr project, here: https://issues.apache.org/jira/browse/SOLR, and attach your patch. Alan Woodward www.flax.co.uk On 28 May 2014, at 16:50, Pawel Rog wrote: Hi, I need QParserPlugin that will use Redis

Re: Contribute QParserPlugin

2014-05-28 Thread Alexandre Rafalovitch
On Thu, May 29, 2014 at 10:25 AM, Otis Gospodnetic otis.gospodne...@gmail.com wrote: am not sure how the may not want process happened there. Would be nice to have one actually, because there is a slow building wave of external components for Solr which are completely not discoverable by the

Re: Error Instantiating QParserPlugin

2011-10-21 Thread karan . jindal1988
From: Marco Martinez lt;mmarti...@paradigmatecnologico.comgt; Sent: Thu, 20 Oct 2011 19:19:55 To: karan.jindal1...@rediffmail.com Subject: Re: Error Instantiating QParserPlugin The only thing i see strange is that you dont declare the package. Marco Martínez Bautista http

Re: Error Instantiating QParserPlugin

2011-10-20 Thread Marco Martinez
for solr 3.2. I got the Instantiating error.As mentioned at various places I created two classesnbsp;1) MyQParserPlugin extends QParserPlugin2) MyQParser extends QParser org.apache.solr.common.SolrException: Error Instantiating QParserPlugin, MyQParserPlugin

Re: An error I can't manage to fix: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin

2011-05-04 Thread Markus Jelsma
/solr/search/QParserPlugin at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14 2) at java.net.URLClassLoader.defineClass

Re: An error I can't manage to fix: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin

2011-05-04 Thread Erick Erickson
Search Plugin to my Solr 1.4.1 setup, and I get this error: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin at java.lang.ClassLoader.defineClass1(Native Method)  at java.lang.ClassLoader.defineClass(ClassLoader.java:634

Re: An error I can't manage to fix: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin

2011-05-04 Thread Gavin Engel
/QParserPlugin at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277

An error I can't manage to fix: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin

2011-05-03 Thread Gavin Engel
Hello all, I've been trying to add the Spatial Search Plugin to my Solr 1.4.1 setup, and I get this error: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634

Re: An error I can't manage to fix: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin

2011-05-03 Thread Markus Jelsma
. Hello all, I've been trying to add the Spatial Search Plugin to my Solr 1.4.1 setup, and I get this error: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java

Re: An error I can't manage to fix: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin

2011-05-03 Thread Gavin Engel
in solrconfig. Hello all, I've been trying to add the Spatial Search Plugin to my Solr 1.4.1 setup, and I get this error: java.lang.NoClassDefFoundError: org/apache/solr/search/QParserPlugin at java.lang.ClassLoader.defineClass1(Native Method

response when using my own QParserPlugin

2011-02-03 Thread Tri Nguyen
Hi, I wrote a QParserPlugin.  When I hit solr and use this QParserPlugin, the response does not have the column names associated with the data such as: 0 29 0 {!tnav} faketn1 CA city san francisco US 10 - - 495,496,497 500,657,498,499 us:ca:san francisco faketn,fakeregression 037.74

Re: response when using my own QParserPlugin

2011-02-03 Thread Grijesh
.nabble.com/response-when-using-my-own-QParserPlugin-tp2419367p2421499.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Yuval Feinstein
: Re: Making my QParserPlugin the default one, with cores It appears that the defType parameter is not being set by the request handler. What do you get when you append echoParams=all to your search url? So you have something like this entry in solrconfig.xml requestHandler name=standard class

Re: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Erik Hatcher
/lst Can you see what I am doing wrong? Thanks, Yuval -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Tuesday, June 08, 2010 3:52 PM To: solr-user@lucene.apache.org Subject: Re: Making my QParserPlugin the default one, with cores It appears that the defType parameter

RE: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Ahmet Arslan
Thanks, Ahmet. Yes, my solrconfig.xml file is very similar to what you wrote. When I use echoparams=all and defType=myqp, I get: lst name=params str name=qhi/str str name=echoparamsall/str str name=defTypemyqp/str /lst However, when I do not use the defType (hoping it will be

RE: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Yuval Feinstein
to tweak my Lucene query data structure so that the query caching works like the standard Lucene queries. Cheers, Yuval -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Wednesday, June 09, 2010 1:36 PM To: solr-user@lucene.apache.org Subject: RE: Making my QParserPlugin

Making my QParserPlugin the default one, with cores

2010-06-08 Thread Yuval Feinstein
Hi. I have extended QParserPlugin according to the Solr Wiki and registered it in solrconfig.xml. Using the defType query parameter, it worked with my multi-core server, giving 285 hits for my search. Next, I wanted it to be the default query parser, so I added to the standard searchhandler

Re: Making my QParserPlugin the default one, with cores

2010-06-08 Thread Ahmet Arslan
It appears that the defType parameter is not being set by the request handler. What do you get when you append echoParams=all to your search url? So you have something like this entry in solrconfig.xml requestHandler name=standard class=solr.SearchHandler default=true lst name=defaults str

field QParserPlugin - Help needed

2010-03-29 Thread Nair, Manas
Hello Experts, Could anyone please help me by directing me to some link where I can get more details on Solr's field QParserPlugin. I would be really grateful. Thankyou all, Manas

field QParserPlugin - Help needed

2010-03-29 Thread Nair, Manas
Hello Experts, Could anyone please help me by directing me to some link where I can get more details on Solr's field QParserPlugin. I would be really grateful. Thankyou all, Manas

Re: field QParserPlugin - Help needed

2010-03-29 Thread Erik Hatcher
Manas, The best you'll find is Solr's javadocs and source code itself. There's a bit on the wiki with the pointers: http://wiki.apache.org/solr/SolrPlugins#QParserPlugin Erik On Mar 29, 2010, at 3:25 PM, Nair, Manas wrote: Hello Experts, Could anyone please help me

Re: field QParserPlugin - Help needed

2010-03-29 Thread Ahmet Arslan
Could anyone please help me by directing me to some link where I can get more details on Solr's field QParserPlugin. Additionally Chris Hostetter's explanation: http://search-lucene.com/m/ZKrXi2VX1st

Re: regarding QParserPlugin

2009-12-17 Thread Grant Ingersoll
I'd probably use the logging stuff instead of System.out, maybe the stream isn't be flushed as expected. On Dec 16, 2009, at 8:29 AM, gudumba l wrote: Hello all, I am trying to use query parser plugin feature of solr. But its really strange that everytime its behaving in a

regarding QParserPlugin

2009-12-16 Thread gudumba l
Hello all,   I am trying to use query parser plugin feature of solr. But its really strange that everytime its behaving in a different way. I have decalred my custom query parser in solrconfig.xml as follows.. queryParser name=myqueryparser

Re : Solr - Plugin : QParserPlugin is not working..

2009-10-27 Thread Phanindra Reva
Hello All, I am a newbie, learning Solr - plugins concept. While following the tutorials on the same from http://wiki.apache.org/solr/SolrPlugins , I have tried to work on Query Parser plugin concept by extending QParserPlugin class. I have registered my custom plugin class

Re: Re : Solr - Plugin : QParserPlugin is not working..

2009-10-27 Thread Grant Ingersoll
On Oct 27, 2009, at 12:58 PM, Phanindra Reva wrote: Hello All, I am a newbie, learning Solr - plugins concept. While following the tutorials on the same from http://wiki.apache.org/solr/SolrPlugins , I have tried to work on Query Parser plugin concept by extending QParserPlugin class

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-19 Thread gdeconto
: http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tp25789546p25959707.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-16 Thread wojtekpia
starting to look at the solr code) per your comment -- View this message in context: http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tp25789546p25930610.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-16 Thread wojtekpia
:*debugQuery=true Not sure if the * gets translated somewhere into a null value parameter (I am just starting to look at the solr code) per your comment -- View this message in context: http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tp25789546p25930610.html Sent

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-13 Thread Chris Hostetter
: My original post ( : http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tt25789546.html : http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tt25789546.html : ) has the stack trace. =^D Actaully, no .. your orriginal post didn't

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-13 Thread gdeconto
-extended-QParserPlugin--tp25789546p25878964.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-08 Thread gdeconto
I did check the other posts, as well as whatever I could find on the net but didnt find anything. Has anyone encountered this type of issue, or is what I am doing (extending QParserPlugin) that unusual?? gdeconto wrote: ... one thing I noticed is that if I append debugQuery=true

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-08 Thread Yonik Seeley
On Thu, Oct 8, 2009 at 12:14 PM, gdeconto gerald.deco...@topproducer.com wrote: I did check the other posts, as well as whatever I could find on the net but didnt find anything. Has anyone encountered this type of issue, or is what I am doing (extending QParserPlugin) that unusual?? I think

Re: how can I use debugQuery if I have extended QParserPlugin?

2009-10-08 Thread gdeconto
Hi Yonik; My original post ( http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tt25789546.html http://www.nabble.com/how-can-I-use-debugQuery-if-I-have-extended-QParserPlugin--tt25789546.html ) has the stack trace. =^D I am having trouble reproducing this issue

how can I use debugQuery if I have extended QParserPlugin?

2009-10-07 Thread gdeconto
). I have extended QParserPlugin so that I can do this. the extended method replaces the virtual function section of the query with an expanded set of fields; @myFunc(1,2,3,4) can become something like (A1:1 AND B1:2 AND C1:3 AND D1:4) OR (A2:1 AND B2:2 AND C2:3 AND D2:4) OR ... (A99:1 AND B99:2

Re: Creating new QParserPlugin

2009-05-13 Thread Otis Gospodnetic
7, 2009 5:14:26 AM Subject: Re: Creating new QParserPlugin Hi! I agree that Solr is difficult to extend in many cases. We just patch Solr, and I guess many other users patch it too. What I propose is to create some Solr-community site (Solr incubator?) to public patches there, and Solr core

Re: Creating new QParserPlugin

2009-05-07 Thread Andrey Klochkov
to the Solr codebase. I know that one can use Jira for that, but it's not convinient to use it in this way. On Thu, May 7, 2009 at 2:41 AM, KaktuChakarabati jimmoe...@gmail.comwrote: Hello everyone, I am trying to write a new QParserPlugin+QParser, one that will work similar to how DisMax does

Creating new QParserPlugin

2009-05-06 Thread KaktuChakarabati
Hello everyone, I am trying to write a new QParserPlugin+QParser, one that will work similar to how DisMax does, but will give me more control over the FunctionQuery-related part of the query processing (e.g in regards to a specified bf parameter). In specific, I want to be able to affect

Re: QParserPlugin

2009-01-27 Thread Karl Wettin
a JAR file. I'm surprised you aren't seeing an error though. Erik On Jan 27, 2009, at 1:07 AM, Karl Wettin wrote: Hi forum, I'm trying to get QParserPlugin to work, I've got queryParser name=myqueryparser class=a.b.QParserPlugin/ but still get Unknown query type 'myqueryparser

QParserPlugin

2009-01-26 Thread Karl Wettin
Hi forum, I'm trying to get QParserPlugin to work, I've got queryParser name=myqueryparser class=a.b.QParserPlugin/ but still get Unknown query type 'myqueryparser' when I /solr/select/?defType=myqueryparserq=foo There is no warning about myqueryparser from Solr at startup. I do however

Re: QParserPlugin

2009-01-26 Thread Erik Hatcher
Karl - where did you put your a.b.QParserPlugin? You should put it in solr-home/lib within a JAR file. I'm surprised you aren't seeing an error though. Erik On Jan 27, 2009, at 1:07 AM, Karl Wettin wrote: Hi forum, I'm trying to get QParserPlugin to work, I've got queryParser