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 to
: vufind/so
: 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
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
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
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
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.
>>
>
>
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/
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.
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
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
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
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
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
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
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
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
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
> >>
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
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
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
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
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
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
> 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,
> >> >
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:
> > >
> > > 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
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
.
> 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)
> >
>
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
.nabble.com/response-when-using-my-own-QParserPlugin-tp2419367p2421499.html
Sent from the Solr - User mailing list archive at Nabble.com.
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
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
> 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
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
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
>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
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
> 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
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
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
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
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..
: 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
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
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
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
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.
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
.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.
>
>
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.
gQuery-if-I-have-extended-QParserPlugin--tp25789546p25878964.html
Sent from the Solr - User mailing list archive at Nabble.com.
: 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
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
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
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
).
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:
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
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
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
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
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
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
65 matches
Mail list logo