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 to : vufind/so

Re: How to register a custom QParserPlugin

2015-04-29 Thread Chris Hostetter
: snippet to : vufind/solr/biblio/conf/sorconfig.xml. the correct syntax should be... ...note the "P" If it's loaded properly, you should see mention of MyQParserPlugin in your logs at startup, and it should appear in the list of query parser plugins in the admin ui... https://cwiki.apa

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
ontrol wether you get "all" the params > (including those added 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

Re: QParserPlugin question

2014-10-22 Thread Chris Hostetter
ust 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 reason of showi

Re: QParserPlugin question

2014-10-22 Thread Peter Keegan
se &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
le. On Wed, Oct 22, 2014 at 2:10 PM, Ramzi Alqrainy 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/

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.

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 proba

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 (storin

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 collapsing

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

2014-06-18 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-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 wrote: > Let's open a new ticket. > > Joel Bernstein > Search Engineer at Heliosearch > > > On Fri, Jun 13, 2014 at 8:08 AM, Umesh Prasad

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 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 attached a test cas

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: Contribute QParserPlugin

2014-05-28 Thread Alexandre Rafalovitch
On Thu, May 29, 2014 at 10:25 AM, Otis Gospodnetic 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 Solr community at

Re: Contribute QParserPlugin

2014-05-28 Thread Otis Gospodnetic
gt; > >> 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 > >>

Re: Contribute QParserPlugin

2014-05-28 Thread Alexandre Rafalovitch
ect, >> 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

Re: Contribute QParserPlugin

2014-05-28 Thread Otis Gospodnetic
pache.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 to prepare filter > > queries. There are several data structure

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 back

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

Re: Error Instantiating QParserPlugin

2011-10-20 Thread karan . jindal1988
Jindal From: Marco Martinez <mmarti...@paradigmatecnologico.com> 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://www.paradigmat

Re: Error Instantiating QParserPlugin

2011-10-20 Thread Marco Martinez
ot the > Instantiating error.As mentioned at various places I created two > classes 1) MyQParserPlugin extends QParserPlugin2) MyQParser extends > QParser > org.apache.solr.common.SolrException: Error Instantiating QParserPlugin, > MyQParserPlugin is not a org.apache.solr.search.QPar

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

2011-05-04 Thread Gavin Engel
> are > >> found or in a dir that you configured in a directive in > solrconfig. > >> > >> > Hello all, > >> > > >> > I've been trying to add the Spatial Search Plugin to my Solr 1.4.1 > setup, > >> >

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

2011-05-04 Thread Erick Erickson
dir that you configured in a directive 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:

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

2011-05-03 Thread Markus Jelsma
> > > > > > 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.d

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

2011-05-03 Thread Gavin Engel
ig. > > > 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.define

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) > > >

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(ClassL

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.

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: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Yuval Feinstein
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

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: > > > hi > all > myqp > > > However, when I do not use the defType (hoping it will be > automatically > Inserted from solrconfig),  I get: > > > hi > all

Re: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Erik Hatcher
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 is not being set by the request >handler. What do you get when you append &e

RE: Making my QParserPlugin the default one, with cores

2010-06-09 Thread Yuval Feinstein
rong? 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 is not being set by the

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 myqp

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: 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: 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 pl

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: 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 di

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.. I have linked it to the default request handler as follows..

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

2009-11-03 Thread Chris Hostetter
: plugin.query.parser.QueryParserPluginOne" in logs. I am sure that the : request handler with which this query parser plugin is linked is : working,Because I could find the results of System.out.println()s : (those included in requesthandler) in log, but not query parser : plugin's System.outs or

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

2009-10-28 Thread Phanindra Reva
ki.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 in solrconfig.xml using >> following , >> >>                    > class="plugin.query.parser.Qu

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 : 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 in

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

2009-10-19 Thread gdeconto
4. > > Wojtek > -- View this message in context: 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
1]&debugQuery=true >>> http://127.0.0.1:8994/solr/select?q=myfield:[1 TO *]&debugQuery=true >>> http://127.0.0.1:8994/solr/select?q=myfield:* >>> http://127.0.0.1:8994/solr/select?q=myfield:*&debugQuery=true >>> >>> Not sure if the * gets tra

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

2009-10-16 Thread Yonik Seeley
.0.0.1:8994/solr/select?q=myfield:* >> http://127.0.0.1:8994/solr/select?q=myfield:*&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 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
0.0.1:8994/solr/select?q=myfield:*&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 from the Solr - User mailing list archive at Nabble.com.

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

2009-10-13 Thread gdeconto
gQuery-if-I-have-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-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&#

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

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 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 you need

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 "debugQu

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:

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 p

Re: Creating new QParserPlugin

2009-05-07 Thread Andrey Klochkov
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 wrote: > > Hello everyone, > I am trying to write a new QParserPlugin+QParser, one that will work > similar > to how DisMax do

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 the

Re: QParserPlugin

2009-01-27 Thread Karl Wettin
our a.b.QParserPlugin? You should put it in /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 but still get Unknown que

Re: QParserPlugin

2009-01-26 Thread Erik Hatcher
Karl - where did you put your a.b.QParserPlugin? You should put it in /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

QParserPlugin

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