Is there a way to add a flag (or name value pair to Json resonse) in result
being returned from Solr based on some security handling which happens in
custom post filter code?
How about if in custom post filter code I added the information to request
context and then in a custom response builder, u
Thanks for your reply.
Is there any way a custom search component can access data created in custom
post filter query so that the data can be added to the response?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Adding-information-to-Solr-response-in-custom-filter-query-c
Is there any way a custom search component can access data created in custom
post filter query component so that the data can be added to the response?
--
View this message in context:
http://lucene.472066.n3.nabble.com/can-custom-search-component-access-data-in-custom-post-filter-component-tp4
Is it possible to use the invariants in Solr config to set facet.method to
override what user is sending?
enum
--
View this message in context:
http://lucene.472066.n3.nabble.com/Using-Solr-invariants-to-set-facet-method-tp4292142.html
Sent from the Solr - User mailing list arc
Thanks for your reply. I was not seeing the param being added in return
results. but after adding echoParams=true, I see that facet method is being
added.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Using-Solr-invariants-to-set-facet-method-tp4292142p4292149.html
Sent f
ange in the Solr date boost functions?
If not, then is there something wrong with my query?
Is my understanding of date boost function with relevancy boosting current?
Thanks,
Ruby
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-boost-function-taking-precedence-over-relev
Is there a way to return only the matched field from a multivalued field
using filtering?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Return-only-matched-multi-valued-field-tp4351494.html
Sent from the Solr - User mailing list archive at Nabble.com.
I'm running into a issue where an object is appearing twice when we are
paging. My query is gives documents boost based on field values. First query
returns 50 object. Second query is exactly same as first query, except
getting next 50 objects. We are noticing that few objects which were
returned b
I'm running into a issue where an object is appearing twice when we are
paging. My query is gives documents boost based on field values. First query
returns 50 object. Second query is exactly same as first query, except
getting next 50 objects. We are noticing that few objects which were
returned b
Hi Shawn,
No index change is happening in this case.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
So I followed following article to enable google like suggestions in my
application:
https://lucidworks.com/2015/03/04/solr-suggester/
How do I control how many words are being returned ?
Many thanks.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
I have a usecase where:
if a document has the search string in it's name_property field, then I want
to show that document on top. If multiple document has the search string in
it's name_property field then I want to sort them by creation date.
Following is my query:
q={!boost+b=recip(ms(NOW,crea
If I'm not using edismax or dismax, is there a way to boost a specific
property through solrconfig.xml? I'm avoiding hard-coding boost in query.
Following is my the request handler in solronfig.xml right now
explicit
10
myFiled
OR
fc
If I'm not using edismax or dismax, is there a way to boost a specific
property through solrconfig.xml? I'm avoiding hard-coding boost in query.
Following is my the request handler in solronfig.xml right now
explicit
10
myFiled
OR
fc
If I want to boost multiple fields using Edismax query parser, is following
the correct way of doing it:
edismax
field1:(apple)^500
field1:(orange)^400
field1:(pear)^300
field2:(4)^500
field2:(2)^100
recip(ms(NOW,mod_date),3.16e-11,1,1)
recip(ms(NOW,creation_date),3.16e-11,1,1)
And
If I want to boost multiple fields using Edismax query parser, is following
the correct way of doing it:
edismax
field1:(apple)^500
field1:(orange)^400
field1:(pear)^300
field2:(4)^500
field2:(2)^100
recip(ms(NOW,mod_date),3.16e-11,1,1)
recip(ms(NOW,creation_date),3.16e-11,1,1)
And
Thanks for your reply.
can the recip function be used to boost a numeric field here:
recip(ord(rating),100,1,1)
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
I'm new to edismax query parser. Trying to figure out how to boost a specific
field over a copy fields.
I want to show all documents for which the *object_name* property contains
the search string first and then list all documents which has the value in
FTS_CopyField and finally show the document
I'm new to edismax query parser. Trying to figure out how to boost a specific
field over a copy fields.
I want to show all documents for which the *object_name* property contains
the search string first and then list all documents which has the value in
FTS_CopyField and finally show the document
I'm noticing in my following query bq= is taking precedence over pf.
&q=Manufacturing
&qf=Catch_all_Copy_field
&pf=object_id^40+object_name^700
&bq=object_rating:(best)^10
&bq=object_rating:(candidate)^8
&bq=object_rating:(placeholder)^5
&bq=object_type_:(typeA)^10
&bq=object_type_:(typeB)^10
&bq=
ok. Shouldn't pf be applied on top of bq=? that way among the object_types
boosted, if one has "Manufacturing" then it should be listed first?
following are my objects:
1
Configuration
typeA
Manufacturing
<--catch all field where contents of all fields get
copied to
2
Manufacturing
typeA
xy
I'm trying to enable phrase suggestion in my application by using
*AnalyzingInfixLookupFactory *and *DocumentDictionaryFactory*. Following is
what my configuration looks like:
mySuggester
AnalyzingInfixLookupFactory
suggester_infix_dir
DocumentDictionaryFactory
title
yes, id is an unique field.
I found following issue in Jira:
https://issues.apache.org/jira/browse/LUCENE-6336
It says affected versions are 4.10.3, 5.0. I'm using Solr 6.1 and seeing
this issue.
You can recreate it by indexing those documents I shared and querying.
--
Sent from: http://lucen
Yes, Id is an unique field in my schema.
I found following Jira issue:
https://issues.apache.org/jira/browse/LUCENE-6336
It looks related to me. It does not mention that it was fixed. Is it fixed
in Solr 6.1? I'm using Solr 6.1
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068
Alessandro, thanks for your reply.
What do you mean by "In case you decide to use an entire new index for the
autosuggestion, you
can potentially manage that on your own".
Is this duplicate issue a problem with the DocumentDictionaryFactory?
--
Sent from: http://lucene.472066.n3.nabble.com/S
I'm using the BlendedInfixLookupFactory to get phrase suggestions. It returns
the entire field content. I've tried the others and they do the same.
AnalyzingInfixSuggester
BlendedInfixLookupFactory
DocumentDictionaryFactory
title
price
text_en
Is there a way to only return a fracti
thanks for your reply.
I'm not seeing any documentation explaining exactly how the weightField is
used.
So, is it just a field which I define on each document and populate with
some number during index. And during search it will be used to sort the
suggestions?
--
Sent from: http://lucene.47206
Does the threshold parameter work with any of the phrase suggestion
component?
https://lucene.apache.org/solr/guide/6_6/suggester.html
AnalyzingInfixSuggester
BlendedInfixLookupFactory
DocumentDictionaryFactory
title
price
text_en
*0.005*
The wiki page does not mention
Does any of the phrase suggesters in Solr 6.1 honor the threshold parameter?
I made following changes to enable phrase suggestion in my environment.
Played with different threshold values but looks like the parameter is not
being used.
mySuggester
FuzzyLookupFactory
suggester_fu
So when following command is run to build solr suggester:
?suggest.build=true
It takes a very long time to finish. I found out that this is because each
time dictionary is built, it does not build delta, it rebuilds the entire
dictionary.
Is there a way to speed up the suggester build time?
TIA
I'm playing with following query but can't get the *object_desc* field
boosted correctly. Maybe someone can tell me what I'm missing here:
&wt=json&&defType=edismax&indent=on
&q=object_name_NGRAM:video OR object_desc_NGRAM:video
&qf=object_desc_NGRAM^10 object_name^2
field definition:
Thanks that worked. But now if I want to search against 3 fields, can that be
defined in solrconfig.xml?
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Thanks for your answer.
In previous Solr version (5.0) I had same number of fields and didn't run
into this issue. Did anything change in Solr 6.0 above?
Thanks
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
The Solr document states that the purpose of the stored attribute is to tell
Solr to store the original text in the index somewhere.
If that is true, then how is Solr able to return original texts when we
facet on fields which are not stored?
--
Sent from: http://lucene.472066.n3.nabble.com/S
I added following to my Solr schema:
and then restarted Solr.
Should following query return all stopwords?
http://localhost/solr/collection/schema/analysis/stopwords/english
I don't get an
I was hoping to get back the list of stopwords which are defined in
server\solr\collection\conf\lang\stopwords_en.txt file.
So are you saying this REST api can't give me access to stopwords defined in
this file?
Is there a query which will give me stopwords defined in
server\solr\collection\con
I'm using the SpellCheckComponent to build term suggestions. It's working in
most cases but for few words I am not seeing suggestions. There are around
14652 in total indexed. Out of them 856 documents start with the word "feq".
When we search by "feq" we get results back but spellcheck does not re
I have 60 thousand fields in schema. When I go to the Analysis page to
analyze a field content
http://localhost:8983/solr/#/collection1/analysis?analysis.fieldvalue=xyz&analysis.query=xyz&analysis.fieldname=field1&verbose_output=0
the admin panel crashes and shows error: Connection to Solr lost.
I have 60 thousand fields in schema. When I go to the Analysis page to
analyze a field content
http://localhost:8983/solr/#/collection1/analysis?analysis.fieldvalue=xyz&analysis.query=xyz&analysis.fieldname=field1&verbose_output=0
the admin panel crashes and shows error: Connection to Solr lost.
39 matches
Mail list logo