Re: plz help me

2015-09-01 Thread sara hajili
i'm really confused:| i'm really anxious about cost of update like count. and as you said: you indexed like_count field .and i think it cost alot to update and index again docs. because like count change more and more so isn't better to indede="false" that this field name??!! On Tue, Sep 1, 2015

Re: plz help me

2015-09-01 Thread Upayavira
So you want to be able to sort by the "number of likes" value for a post? What version of Solr are you using? How many posts do you have? There's a neat feature in Solr 5.2.1 (I'm pretty sure it is there, not 5.3) called score joins. Using that you can have two cores, one containing your posts,

Re: plz help me

2015-09-01 Thread Upayavira
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: Upayavira On Tue, Sep 1, 2015, at 10:59 AM, sara hajili wrote: > my solr version is 5.2.1 > i have a question. > if i create 2 core .one for

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
my solr version is 5.2.1 i have a question. if i create 2 core .one for post and one for like . i must index like count? i mean in schema for like core i must write: am i true? On Tue, Sep 1, 2015 at 2:42 AM, Upayavira wrote: > So you want to be able to sort by the "number

Re: plz help me

2015-09-01 Thread Alexandre Rafalovitch
http://blog.griddynamics.com/2015/08/scoring-join-party-in-solr-53.html shows how to keep updates in a separate core. Notice that it is an intermediate-level article for query syntax. For persian text analysis, there is a pre-built analyser defiition in the techproducts example, start from that.

Re: plz help me

2015-09-01 Thread sara hajili
i used pre-built persian analyzer but it isn't enough for me. this work just for search exacly indexed work! like search 'go' and search result is 'go' as i said in english we have stemming,synonym,etc filters that help us to have flexible search. and i want some filter for persian. that pre-built

Re: plz help me

2015-09-01 Thread sara hajili
and another question is: my docs are persian and i use text_fa for fieldType but i wanna to have a persian textfield that handle search problem such as stemming. word distance,synonyms etc like english types. as i said i handle "میخواهم " and "خواستن" and so on. can you suggest me a fieldtype for

Re: plz help me

2015-09-01 Thread Alexandre Rafalovitch
If Solr's persian configuration is not sufficient, you could look into commercial implementation from Basis Tech (I haven't tested it): http://www.basistech.com/text-analytics/rosette/base-linguistics/for-arabic/ (says it supports persian at the bottom of the page). I would also open a JIRA with