That implies that you’re using two different queryParsers, one for the “q”
portion and one for the “fq” portion. My guess is that you have solrconfig
/select or /query configured to use (e)dismax but your fq clause is being
parsed by, the LuceneQueryParser.
You can specify the parser via local
Thanks Erick for the clarification. How does the ps work for fq? I
configured ps=4 for q, it doesn't apply to fq though. For phrase queries in
fq seems ps=0 is used. Is there a way to config it for fq also?
Best,
Wei
On Tue, Jun 25, 2019 at 9:51 AM Erick Erickson
wrote:
> q and fq do _exactly
q and fq do _exactly_ the same thing in terms of query parsing, subject to all
the same conditions.
There are two things that apply to fq clauses that have nothing to do with the
query _parsing_.
1> there is no scoring, so it’s cheaper from that perspective
2> the results are cached in a bitmap
Thanks Shawn! I didn't notice the asterisks are created during copy/paste,
one lesson learned :)
Does that mean when fq is applied to text fields, it is doing text match
in the field just like q in a query field? While for string fields, it is
exact match.
If it is a phrase query, what are the v
On 6/24/2019 5:37 PM, Wei wrote:
I'm assuming that the asterisks here are for emphasis, that they are not
actually present. This can be very confusing. It is far better to
relay the precise information and not try to emphasize anything.
For query q=*:*&fq=description:”ice cream”, the f
Hi,
I have always been using solr fq on string fields. Recently I need to apply
fq on one text field defined as follows:
For query q=*:*&fq=description:”ice cream”, the filter query returns
matches for “ice cream b
First one treats space as end of operation, so the second keyword is
searched against default field (id). Try putting the whole thing into the
quotes. Or use Field Query Parser:
https://lucene.apache.org/solr/guide/7_5/other-parsers.html#field-query-parser
Regards,
Alex.
On Wed, Oct 24, 2018,
Hi,
I'm having troubles with the filter query on a multiple string field,
specifically with a space between words. Looking at the histogram and
values using Solr UI it correctly shows that the indexing stores the
string "Key case" as it should. However the following filter queries:
fq=sm_field_ta
bq. is there any difference if the fq field is a string field vs test
Absolutely. string fields are not analyzed in any way. They're not
tokenized. There are case sensitive. Etc. For example takd
My dog
as input. A string field will have a _single_ token "My dog.". It will
not match a search on "
btw, is there any difference if the fq field is a string field vs test
field?
On Wed, Jul 11, 2018 at 11:59 AM, Wei wrote:
> Thanks Erick and Andrea! If my default operator is OR, fq=
> my_text_field:(Jurassic park the movie) is equivalent to
> my_text_field:(Jurassic
> OR park OR the OR mov
Thanks Erick and Andrea! If my default operator is OR, fq=
my_text_field:(Jurassic park the movie) is equivalent to
my_text_field:(Jurassic
OR park OR the OR movie)? That make sense.
On Wed, Jul 11, 2018 at 9:06 AM, Andrea Gazzarini
wrote:
> The syntax is valid in all those three examples, th
The syntax is valid in all those three examples, the right one depends on
what you need.
The first query executes a proximity search (you can think to a phrase
search, for simplicity) so it returns no result because probably you don't
have any matching docs with that whole literal.
The second is
1> is looking for the _phrase_, so the four tokens "jurassic" "park"
"the" "movie" have to appear next to each other in that order.
2> is looking for the four tokens anywhere in the field. Whether they
_all_ must appear depends on whether the default operator (OR or AND).
3> is parsed as my_text_
Hi,
I am running filter query on a field of text_general type and see
completely different results for the following queries:
fq= my_text_field:"Jurassic park the movie" returns 0
result
fq= my_text_field:(Jurassic park the movie) returns 20
result
fq= my_te
Thanks so much Erick and John for your inputs.
This was surely helpful input for me. I tried using RDBMS and stored user
specific queries into RDBMS. It is working for me.
Thanks & Regards,
--
*Pritam Kute*
On Thu, Apr 7, 2016 at 3:01 AM, John Bickerstaff
wrote:
> Right... You can store that
Right... You can store that anywhere - but at least consider not storing
it in your existing SOLR collection just because it's there... It's not
really the same kind of data -- it's application meta-data and/or
user-specific data...
Getting it out later will be more difficult than if you store i
That's more of an app-level feature, there's nothing in Solr that does
this for you.
Some people have used a different Solr collection to store the queries
as strings for display, but that's again something you build on top of
Solr, not a core feature.
Best,
Erick
On Wed, Apr 6, 2016 at 2:32 AM,
Hi,
I have designed one web page on which user can search and filter his data
based on some term facets. I am using Apache Solr 5.3.1 for the same. It is
working perfectly fine.
Now my requirement is to save the query which I have executed on Solr, so,
in future, if I need to search the same resu
http://localhost:8080/solr/CoreName/select?c=abc&p=book
http://localhost:8080/solr/CoreName/select?c=abc&p=pen
But with or condition it is not workingAny body help me
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Filter-Query-is-not-working-t
ake reading and troubleshooting log files rather difficult.
All of that said, please describe your use case. First, let's make sure that
it is an appropriate use case for Solr.
-- Jack Krupansky
-Original Message-
From: Prasi S
Sent: Wednesday, August 21, 2013 1:12 AM
To: solr-use
lrCaching#filterCache>
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-Filter-Query-tp4085807p4085832.html
Sent from the Solr - User mailing list archive at Nabble.com.
Hi,
Is there any limit on how big a filter query can be ?
What are the values that should be set properly for handling big filter
queries.
thanks,
Prasi
Yes I know about that, but design schema cannot be changed. This is not my
decision :)
--
View this message in context:
http://lucene.472066.n3.nabble.com/Nested-query-in-SOLR-filter-query-fq-tp4078020p4078047.html
Sent from the Solr - User mailing list archive at Nabble.com.
r query(fq) part. In fq must be the ids of the
> documents with status 2 and if the current document id is in this list to
> be
> excluded.
> I guess some subquery must be used in fq part or something else.
> Just for information we are using APACHE SOLR 3.6 and document count is
>
or information we are using APACHE SOLR 3.6 and document count is
around 100k.
Thanks in advance!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Nested-query-in-SOLR-filter-query-fq-tp4078020.html
Sent from the Solr - User mailing list archive at Nabble.com.
25 matches
Mail list logo