Hi
I have some docs in my solr index. and now i want to run a query. please
help me how create this query?
i have documents like this:
{
topic_code:"A"
},
{
topic_code:"B"
},
{
topic_code:"A"
},
{
topic_code:"A"
},
{
topic_code:"C"
},
{
topic_code:"A"
},..
now i want to get respanse from a solr 100
nswers above, it could be something that
> you don't need.
>
> Best,
> Andrea
>
> Il sab 14 lug 2018, 13:27 sara hajili ha scritto:
>
> > hi
> > i need add nested document in solr . how can i do this ?
> > how add nested document field i
hi
i need add nested document in solr . how can i do this ?
how add nested document field in schema ?
for example i need to add this :
{
"id":12,
'topic":[ {
code:1,
name:"hi"
},
{
code:2,
hi all,
I want to know when standalone solr can't be sufficient for storing data
and we need to migrate to solr cloud?for example standalone solr take too
much time to return query result or to store document or etc.
in other word ,what is best capacity and data index size in standalone
solr tha
hi i switch from solr 5 to solr 6 .
i create my more like this handler that use solr more like this handler and
expand query by adding some word to query.
and now my question is about mlt parameter .
i wanna to know about mlt.mindf and mlt.mintf.what are these doing exactly?
when i didn't set mlt.m
trying to do (please share that as
> well, for best assistance), but I do not recommend putting custom code into
> Solr’s package namespaces (and obviously that has issues here, because of
> the separate JAR and visibility/access).
>
> Erik
>
>
> > On Jul 25, 2016, a
detail (copy/paste) the exact error you were
> getting in your handler. It's still not my recommended approach but it
> sounds like you're new to Solr development and need to iron out some issues
> first.
>
>Erik
>
> > On Jul 24, 2016, at 13:20, sara hajili w
query with orange.
On Jul 24, 2016 8:37 PM, "Erik Hatcher" wrote:
> My first inclination would be to implement this as a TokenFilter instead.
> Can you provide some examples of what you want?
>
> > On Jul 24, 2016, at 08:22, sara hajili wrote:
> >
> > hi all.
hi all.
i wanna to expand my queries with wordnet ...
so i try to write my own SearchHandler class."/mysearchHandler"
so i add new requestHandler in solr-config /mySearchHandler
but i faced with problem. i found some field that they were package access .
so i get access error in run query.(this fi
gt; the somehow.
>
> Best,
> Erick
>
> On Wed, Jul 13, 2016 at 7:00 AM, sara hajili
> wrote:
> > hi i switched from solr 5.3 to solr 6.1.0.
> > in my schema file i have a solr.textField
> > now when i start solr and add core . i get
hi i switched from solr 5.3 to solr 6.1.0.
in my schema file i have a solr.textField
now when i start solr and add core . i get this exception
org.apache.solr.common.SolrException: undefined field text
at
org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1300)
On Wed, Jul 13, 2016 at 5:11 AM, Midas A wrote:
> Is there any draw back of using docValues=true ?
>
> On Wed, Jul 13, 2016 at 2:28 PM, sara hajili
> wrote:
>
> > Hi.
> > Facet query take a long time.you vcan use group query.
> > Or in fileds in schema that
Hi.
Facet query take a long time.you vcan use group query.
Or in fileds in schema that you run facet query on that filed.
Set doc value=true.
To get better answer.in quick time.
On Jul 13, 2016 11:54 AM, "Midas A" wrote:
> http://
>
> #:8983/solr/prod/select?q=id_path_ids:166&fq=sort_price:[0
Hi .u can monitor heap size by jvm.
Run solr and open jvisualvm in "javahome/bin "
Monitor your heap size that solr use.
You can create heap image and check objects that are in heap.and check why
you get heap size error.
On Jul 13, 2016 9:55 AM, "Midas A" wrote:
> Hi,
> I frequently getting solr
Hi
I indexed pdf files yo solr.and now I wanna to know is there any way to
uplaod a pdf file and solr return related pdf in result?
I mean I don't want to index pdf file (the file that I wanna to get pdf
more like this for this pdf).and just upload pdf file and get mlt
result.can I do this??
hi i have a about 500 doc that stored that in solr.
when i added this 500 doc i see solr index size it was about 300 KB .
but it become bigger more and more ,and now after about 2 hours solr index
size become 3500KB . i did n't add any new doc to solr. but index size
become bigger and bigger.why s
rom debug=true? Maybe it's an Or/OR thing?
>
> > On Feb 12, 2016, at 23:47, sara hajili wrote:
> >
> > hi i have a Boolean query
> > like this
> > query = caption:apple Or caption:bannana^1.0003 OR
> > caption:pineapple^1.0023
> > and get a result li
hi i have a Boolean query
like this
query = caption:apple Or caption:bannana^1.0003 OR
caption:pineapple^1.0023
and get a result like
doc1
doc2
doc3
but this result does not satisfy me at all.
because i had a doc that contain some of this term but i did not get these
docs.
but when i change my q
hi all.i have a mlt query.
and i wanna to categorise query result based on special field.
so i wanna to use group solr feature.
but solr mlt does not support group .
i used group = true
group.field =filed1,
group.limit=3
but i did n't get group result.
** i test solr group feature with select handl
On Mon, Feb 8, 2016 at 3:04 AM, sara hajili wrote:
> sorry i made a mistake i have a bout 1000 K doc.
> i mean about 100 doc.
>
> On Mon, Feb 8, 2016 at 1:35 AM, Emir Arnautovic <
> emir.arnauto...@sematext.com> wrote:
>
>> Hi Sara,
>> Not sure if I am
GC is most
> likely reason for high CPU.
>
> You can use http://sematext.com/spm to collect Solr and host metrics and
> see where the issue is.
>
> Thanks,
> Emir
>
> --
> Monitoring * Alerting * Anomaly Detection * Centralized Log Management
> Solr & Elasticsear
hi all.
i have a problem with my solr performance and usage hardware like a
ram,cup...
i have a lot of document and so indexed file about 1000 doc in solr that
every doc has about 8 field in average.
and each field has about 60 char.
i set my field as a storedfield = "false" except of 1 field. //
hi all,
i wanna to know about solr search relevency scoreing threashold.
can i change it?
i mean immagine when i searching i get this result
doc1 score =8
doc2 score =6.4
doc3 score=6
doc8score=5.5
doc5 score=2
i wana to change solr score threashold .in this way i set threashold for
example >4
and
M, Susheel Kumar
> wrote:
>
> > You can go to https://issues.apache.org/jira/browse/SOLR/ and create
> Jira
> > ticket after signing in.
> >
> > Thanks,
> > Susheel
> >
> > On Mon, Jan 11, 2016 at 2:15 PM, sara hajili
> > wrote:
> >
I wanna to write my own text tokenizer.
And my question is about what solr treat with stemming or lemmatizing?
Solr store both lemmatizerd token and orginal token together?
I mean if in index time solr lemmatize creation to create.
And in query time.user want to search about exactly creation not c
Hi all as I underestood.
Both of them are for affecting on relevence scoring.but u have more
dominate on relevence scoring when using boosted query.is it true?
I am willing to understand more about difference between 2.
And know what is best situation for using each other?
Tnx.
Hi all .
I have a issue with solr scoring.
How solr scoring treat ?
I mean is it linearly?
hi Callum.
you can create a directory for your jar file any where,and u must set jar
file location in tag in solrConfig.xml
and be carefull that add your lib location at the end of the solr config
default tag,
because some times your jar need class that at first solr must be load own
class after
ed, Jan 13, 2016 at 6:28 AM, Shawn Heisey wrote:
> On 1/13/2016 5:40 AM, sara hajili wrote:
> > what is exactly diffrence between sapce and OR in solr query ?
> > i mean what is diffrence between
> > q = solr OR lucene OR search
> > and this
> > q = solr lucene sea
hi all,
what is exactly diffrence between sapce and OR in solr query ?
i mean what is diffrence between
q = solr OR lucene OR search
and this
q = solr lucene search?
solr default boolean occurence is OR,isn't it?
this I will look at resolving the issue.
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Mon, Jan 11, 2016 at 2:03 PM, sara hajili
> wrote:
>
> > I am using solr 5.3.1
> > On Jan 11, 2016 10:30 PM, "Joel Bernstein" wrote:
> >
> > &g
I am using solr 5.3.1
On Jan 11, 2016 10:30 PM, "Joel Bernstein" wrote:
> Which version of Solr are you using?
>
> Joel Bernstein
> http://joelsolr.blogspot.com/
>
> On Mon, Jan 11, 2016 at 6:39 AM, sara hajili
> wrote:
>
> > hi all
> > i have
hi all
i have a MLT query and i wanna to use collapse filter query.
and i wanna to use collapse expand nullPolicy.
in this way when i used it :
{!collapse field=original_post_id nullPolicy=expand}
i got my appropriate result .
(in solr web UI)
but in regular search handler "/select",when i used
{!
hi i wanna to have own normalization .
i write 2 class one class form normalization filter factort that extends
token filter factory and imoplement multiTermAwarecomponent
and an other one class is normalization factory that extends token filter.
then i create a jar from this classes with dependenc
hi.
i wanna to change solr analyzer , like normalization.
because solr default normalization for persian language does't satisfy me.
so i start reading solr plugins .
and i try to implement my PersianNormalization.
now i have 2 class in this way :
class persianNormalizer extends TokenFilter.
and an
ent, you can open ticket and submit patch.
>
> Thanks,
> Emir
>
>
> On 09.12.2015 10:41, sara hajili wrote:
>
>> hi i wanna to use solr , and language of my documents that i stored in
>> solr
>> is persian.
>> solr doesn't support persian as well as
hi i wanna to use solr , and language of my documents that i stored in solr
is persian.
solr doesn't support persian as well as i want.so i find preprocessor tools
like a normalization,tockenizer and etc ...
i don't want to use solr persian filter like persian tockenizer,i mean i
wanna to improve i
You can change solr loglevel.bydefault solr logs for every thing.
You can change this by go in solrconsole.inlog/level and edit levels for
just error for example.
And this is temporary way.
You can also change solrconfig.insolr_home
In /log and change logging4j
Config.
For more info look at:
https:
,
> Erick
>
> On Thu, Oct 29, 2015 at 7:44 AM, sara hajili
> wrote:
> > hi,
> > i add this in solr.xml file :
> > ${coreRootDirectory:}
> > and in each core i added these to core.properties
> > loadOnStartup=true
> >
> > and now if i stop and sta
hi,
i add this in solr.xml file :
${coreRootDirectory:}
and in each core i added these to core.properties
loadOnStartup=true
and now if i stop and start solr from solr_home/bin
after restart solr start and automatically added cores to solr.
but when i restart solr service in linux as :
service s
hi all.
i am new in solr.i use more like this (query handler) for get docs that are
similar to specefic doc that i mentioned.
and my issue is when i get some docs , i wanna to changed sort of that, for
example imagine that docs have one field as like_count,
i wanna to get more related docs to doc i
hi all.
i am new in solr.i use more like this (query handler) for get docs that are
similar to specefic doc that i mentioned.
and my issue is when i get some docs , i wanna to changed sort of that, for
example imagine that docs have one field as like_count,
i wanna to get more related docs to doc i
hi all
i wanna to get each doc score in search result + restrict search result to
some doc that their score are above than score that i need (i mean i set
minimum score in search and get doc based on upper than that score)
i need this in normal search with edismax and more like this in pysolr
i und
hi all
i wanna to get suggestion from multi field in solr.
i add this to solrConfig
mySuggester
FuzzyLookupFactory
DocumentDictionaryFactory
suggestStr
like_count
string
false
true
10
suggest
and add this to schema:
and
but i didn't get any result from this suggest query:
http
hi
in my schema i have a tag field.
this field set multiValued="true".
now my question is about search on multivalued field.
if i add thid doc to sor:
{
id:1,
tag:{"tag1","tag2"}
},
{
id:2,
tag:{"tag1","tag2"}
},
when i search on q="tag1"
i get just :
{
id:1,
tag:{"tag1","tag2"}
},
but if i add
n
wrote:
> The closest thing to this I know of would be "more like this",
> you might want to take a look at that capability:
>
> https://cwiki.apache.org/confluence/display/solr/MoreLikeThis
>
> Best,
> Erick
>
> On Sat, Sep 5, 2015 at 11:29 PM, sara hajili
hi
i have a social app and i wanna to index all people posts.
in this case i index post data like :
title,images,tags,caption,comment,like counts,etc
and i need to search on tag"people tags on their post ,this tags are
related to their post"
i am willing to undrestand that solr know any relational
uments per minute, or a
> handful per second.
>
>
> -- Jack Krupansky
>
> On Sat, Sep 5, 2015 at 1:16 AM, sara hajili wrote:
>
> > hi
> > i am new in solr, i face to a problem and need any solution to solve
> that.
> > i have a field that this field need
hi
have any idea about implement atomic update with pysolr.?
i found this in solrJ:
HttpSolrClient client = new HttpSolrClient("http://localhost:8983/solr";);
// create the document
SolrInputDocument sdoc = new SolrInputDocument();
sdoc.addField("id","book1");
Map fieldModifier = new HashMap<>(1);
hi
i am new in solr, i face to a problem and need any solution to solve that.
i have a field that this field need to update frequently.
"image i need to index all post of member of a social app"
in this case i need to store and index all posts field like caption ,
image, title,comments ,etc
but que
ample_techproducts_configs/conf and is one of
> the example configsets.
>
> Regards,
>Alex.
>
> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter:
> http://www.solr-start.com/
>
>
> On 1 September 2015 at 08:07, sara hajili wrote:
> > and a
t me a fieldtype for handle this issues in persian field.
tnx
On Tue, Sep 1, 2015 at 3:16 AM, sara hajili wrote:
> i'm really confused:|
> i'm really anxious about cost of update like count.
> and as you said:
> docValues="true"/>
> you indexed like_count f
??!!
On Tue, Sep 1, 2015 at 3:08 AM, Upayavira wrote:
> you don't need to use a dynamic field, just a normal field will work for
> you. But, you *will* want to index it, and you may benefit from
> docValues, so:
>
> docValues="true"/>
>
> Upayavira
>
containing your likes.
>
> You cannot *sort* on these values, but you can include your likes into
> the score, which might even be better.
>
> If this sounds good, I can dig up some syntax for such a query.
>
> Upayavira
>
> On Tue, Sep 1, 2015, at 10:36 AM, sara hajili
hi.
at first i.m sorry for my bad english!
i have a social app.i want to use solr for searching in this app.
i have many document (in my case people text that posted on my social app).
and i indexed this.
but i'm have 1 issue and it is :
i have very doc(post) and they have a property "like" is it
55 matches
Mail list logo