solr boost query

2018-09-10 Thread sara hajili
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

Re: solr nested schema

2018-07-14 Thread sara hajili
ve, 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 in schema ? >

solr nested schema

2018-07-14 Thread sara hajili
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,

solr cloud vs standalone solr

2017-07-29 Thread sara hajili
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

Solr 6 more like this

2016-08-03 Thread sara hajili
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

Re: solr extends query

2016-07-25 Thread sara hajili
actly what your code is 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 > > &g

Re: solr extends query

2016-07-25 Thread sara hajili
t - please 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

Re: solr extends query

2016-07-24 Thread sara hajili
this query with orange. On Jul 24, 2016 8:37 PM, "Erik Hatcher" <erik.hatc...@gmail.com> 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 hajil

solr extends query

2016-07-24 Thread sara hajili
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

Re: solr.textfield in solr 6

2016-07-14 Thread sara hajili
is somehow removing > the somehow. > > Best, > Erick > > On Wed, Jul 13, 2016 at 7:00 AM, sara hajili <hajili.s...@gmail.com> > 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

solr.textfield in solr 6

2016-07-13 Thread sara hajili
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)

Re: Query optimization

2016-07-13 Thread sara hajili
On Wed, Jul 13, 2016 at 5:11 AM, Midas A <test.mi...@gmail.com> wrote: > Is there any draw back of using docValues=true ? > > On Wed, Jul 13, 2016 at 2:28 PM, sara hajili <hajili.s...@gmail.com> > wrote: > > > Hi. > > Facet query take a long time.you vcan use

Re: Query optimization

2016-07-13 Thread sara hajili
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:// > >

Re: solr server heap out

2016-07-13 Thread sara hajili
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

Solr more like this

2016-07-05 Thread sara hajili
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??

solr index size issue

2016-03-12 Thread sara hajili
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

Re: boolean query with score and with out score

2016-02-13 Thread sara hajili
> What are the parsed queries from debug=true? Maybe it's an Or/OR thing? > > > On Feb 12, 2016, at 23:47, sara hajili <hajili.s...@gmail.com> wrote: > > > > hi i have a Boolean query > > like this > > query = caption:apple Or caption:bannana^1.0003 OR > &

boolean query with score and with out score

2016-02-12 Thread sara hajili
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

solr mlt with grouping issue

2016-02-10 Thread sara hajili
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

solr performance issue

2016-02-08 Thread sara hajili
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. //

Re: solr performance issue

2016-02-08 Thread sara hajili
and 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

Re: solr performance issue

2016-02-08 Thread sara hajili
On Mon, Feb 8, 2016 at 3:04 AM, sara hajili <hajili.s...@gmail.com> 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: > >>

solr score threashold

2016-01-20 Thread sara hajili
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

Solr relevancy scoring issue

2016-01-15 Thread sara hajili
Hi all . I have a issue with solr scoring. How solr scoring treat ? I mean is it linearly?

Boost query vs function query in edismax query

2016-01-15 Thread sara hajili
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.

Re: collapse filter query

2016-01-15 Thread sara hajili
an 11, 2016 at 3:12 PM, Susheel Kumar <susheel2...@gmail.com> > 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

Issue with stemming and lemmatizing

2016-01-15 Thread sara hajili
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

Re: Classes in solr_home /lib cannot import from solr/dist

2016-01-14 Thread sara hajili
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

solr BooleanClauses issue with space

2016-01-13 Thread sara hajili
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?

Re: solr BooleanClauses issue with space

2016-01-13 Thread sara hajili
, 2016 at 6:28 AM, Shawn Heisey <apa...@elyograg.org> 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 > &g

collapse filter query

2016-01-11 Thread sara hajili
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

Re: collapse filter query

2016-01-11 Thread sara hajili
I am using solr 5.3.1 On Jan 11, 2016 10:30 PM, "Joel Bernstein" <joels...@gmail.com> 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 <hajili.s...@gmail.com>

Re: collapse filter query

2016-01-11 Thread sara hajili
ould create a jira ticket for 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 <hajili.s...@gmail.com> > wrote: > > > I am using solr 5.3.1 > > On Jan 11, 2016 10:30 PM, &quo

problem with solr plugin

2015-12-19 Thread sara hajili
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

add text analyzer to solr

2015-12-17 Thread sara hajili
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

Re: integrate solr with preprocessor tools

2015-12-16 Thread sara hajili
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 i wa

integrate solr with preprocessor tools

2015-12-09 Thread sara hajili
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

Re: solr-8983-console.log is huge

2015-11-06 Thread sara hajili
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:

Re: problem with solr auto add core after restart

2015-10-31 Thread sara hajili
ugh to say much. > > Best, > Erick > > On Thu, Oct 29, 2015 at 7:44 AM, sara hajili <hajili.s...@gmail.com> > wrote: > > hi, > > i add this in solr.xml file : > > ${coreRootDirectory:} > > and in each core i added these to core.properties > > loadOn

problem with solr auto add core after restart

2015-10-29 Thread sara hajili
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

solr more like this sort / reranking

2015-10-18 Thread sara hajili
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

solr more like this sort / reranking

2015-10-17 Thread sara hajili
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

solr get score of each doc in edis max search and more like this search result

2015-09-23 Thread sara hajili
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

solr auggestion with copy-field

2015-09-21 Thread sara hajili
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:

search on multiValued field

2015-09-12 Thread sara hajili
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

Re: solr now relational between tags?!!

2015-09-07 Thread sara hajili
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 <hajili.s...@gmail.com> > wrote: > > hi > > i have a socia

Re: frequently update field

2015-09-06 Thread sara hajili
ments per hour or dozens of documents per minute, or a > handful per second. > > > -- Jack Krupansky > > On Sat, Sep 5, 2015 at 1:16 AM, sara hajili <hajili.s...@gmail.com> wrote: > > > hi > > i am new in solr, i face to a problem and need any solution

solr now relational between tags?!!

2015-09-06 Thread 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

Fwd: atomic update in solr with pysolr(python client)

2015-09-05 Thread sara hajili
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 =

frequently update field

2015-09-04 Thread sara hajili
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

Re: plz help me

2015-09-01 Thread sara hajili
ep 1, 2015 at 3:08 AM, Upayavira <u...@odoko.co.uk> 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

plz help me

2015-09-01 Thread 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

Re: plz help me

2015-09-01 Thread sara hajili
posts, and another 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:

Re: plz help me

2015-09-01 Thread sara hajili
e_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 <hajili.s...@gmail.com&

Re: plz help me

2015-09-01 Thread sara hajili
ggest me a fieldtype for handle this issues in persian field. tnx On Tue, Sep 1, 2015 at 3:16 AM, sara hajili <hajili.s...@gmail.com> wrote: > i'm really confused:| > i'm really anxious about cost of update like count. > and as you said: > docValues="true"/> >