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
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
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
: 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
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
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
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
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.
: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
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.
-- 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
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
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
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
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,
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
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
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
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
, 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
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
,
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
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
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
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
/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
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
/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
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
.
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
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
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
.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
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
:
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.
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.
:*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
: 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
-extended-QParserPlugin--tp25789546p25878964.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
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
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
).
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
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
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
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
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
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
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
62 matches
Mail list logo