Re: Need Help for Location searching

2013-12-31 Thread Ahmet Arslan
Hi Rashi, Closest thing came to my mind is PathHierarchyTokenizerFactory http://wiki.apache.org/solr/HierarchicalFaceting ahmet On Tuesday, December 31, 2013 3:16 PM, rashi gandhi wrote: Hi, I wanted to design an analyzer that can support location containment relationship For example Europ

Re: config JoinQParserPlugin

2013-12-31 Thread Chris Hostetter
: Earlier I tried join queries using curl : 'http://myLinux:8983/solr/abc.edu_up/select?debug=true&q=*:*&fq={defType=join : from=id to=id fromIndex=abc.edu}subject:financial'  but didn't get any : response. There was nothing on Solr log either. So, I thought I need to : config join. Is there a

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Ahmet Arslan
Hi Tasmaniski, I don't follow. How come Liu's faceting workaround and n.groups=true produce different results? On Tuesday, December 31, 2013 6:08 PM, tasmaniski wrote: @kamaci Ofcourse. That is the problem. "group.limit is: the number of results (documents) to return for each group." Num

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Chris Hostetter
I'm not sure if i'm completley following this thread, but i wanted to point out hte existence of this bug in case it's causing problems in your specific case... https://issues.apache.org/jira/browse/SOLR-4310 ...there is a patch on that issue, but some unresolved questions about wether it wor

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread tasmaniski
@kamaci Ofcourse. That is the problem. "group.limit is: the number of results (documents) to return for each group." NumFound is number of total found, but *not* sum number of *return for each group.* @Liu Bo seems to be the is only workaround for problem but it's to much expensive to go throug

Re: Need Help for Location searching

2013-12-31 Thread Jack Krupansky
Be aware that a number of countries span more than one continent. For example, Russia and Turkey and others in that region of the world. Normally, you flatten your data model for Solr, so each document would have a continent, country, state, and city. You can do a dismax query for the terms o

Need Help for Location searching

2013-12-31 Thread rashi gandhi
Hi, I wanted to design an analyzer that can support location containment relationship For example Europe->France->Paris My requirement is like: when a user search for any country , then results must have the documents having that country , as well as the documents having states and cities which

Re: question regarding dismax query results

2013-12-31 Thread Ahmet Arslan
Hi Vulcanoid, If you want to consider proximity, you need to use pf (phrase fields) and ps (phrase slop) parameter. Please see : http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_search_for_one_term_near_another_term_.28say.2C_.22batman.22_and_.22movie.22.29 P.S. edismax has more fine gra

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Ahmet Arslan
Hi Liu, Did you consider using group.ngroups=true ? It should give the same number as your faceting solution.  Ahmet On Tuesday, December 31, 2013 10:22 AM, Liu Bo wrote: Hi I've met the same problem, and I've googled it around but not found direct solution. But there's a work around, do a

Custom sorting on facets

2013-12-31 Thread Gupta, Abhinav
Hi, I am using facets for suggestions. By default facet sort is based only on index order and count. Now, in that I have a requirement that based on a value in solr doc ;some suggestions must be at top and then other. Example : doc1 ProductInstance hydraulic doc2 ProductInstance other hydra

Re: adding wild card at the end of the text and search(like sql like search)

2013-12-31 Thread Ahmet Arslan
Hi Suren, Try ComplexPhrase-4.2.1.zip, there is a read me file inside it. Ahmet On Monday, December 30, 2013 8:21 PM, suren wrote: Ahmet,           I am using solr 4.3.1. do i still need to apply this patch ? if yes please tell me the steps to follow. In the given link i see lot of patches, no

Re: Possible memory leak after segment merge? (related to DocValues?)

2013-12-31 Thread Michael McCandless
On Mon, Dec 30, 2013 at 1:22 PM, Greg Preston wrote: > That was it. Setting omitNorms="true" on all fields fixed my problem. > I left it indexing all weekend, and heap usage still looks great. Good! > I'm still not clear why bouncing the solr instance freed up memory, > unless the in-memory st

Facet in query parameters return all the fields instead of the field mentioned in facet.field parameter

2013-12-31 Thread deepakas
Hi , I am making a solr query by passing a facet field. For some reason it returns all the fields in solr index as faceted instead of just the field "inputmethod". Is it because I have all the fields mentioned in the solrconfig.xml or am I missing some other parameter ? http://solrhost:8983/solr

Very long running replication.

2013-12-31 Thread anand chandak
Quick question about solr replication : What happens if there's a replication running for very large index that runs more than the interval for 2 replication ? would the automatic runs of replication interfere with the current running one or it would not even spawn next iteration of replication

Define index and query with many delimiter

2013-12-31 Thread dtphat
Hi all, I have a problem with delimiter when index: I define like below code in schema.xml: But I want to delimiter with general delimiters and other different delimiters, such as "_", ";", and others defined cases. example: input: hello_world => I want: index {"hello", "world"} instead of ind

question regarding dismax query results

2013-12-31 Thread Vulcanoid Developer
Hi, I have a solr schema which has fields related to Indian legal judgments and want to provide a search engine on top of them. I came across a problem which I thought I would take the group's advise on. For discussion sake let us assume there are only two fields "assessee" and "itat_order" whic

Re: Solr search videos

2013-12-31 Thread Fkyz
Thanks again! =D You have been very helpful! I will search i little bit more before i start something. Thanks, and Happy new year! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-search-videos-tp4108731p4108864.html Sent from the Solr - User mailing list archive at Nab

Re: Solr search videos

2013-12-31 Thread Furkan KAMACI
Hi; First of all if you try to crawl a whole web site such Youtube your IP adress may be banned and your crawl time may decrease dramatically. You can easily test it with Wikipedia. On the other hand you will not parse the video files, you parse the meta information at the page and that is what yo

Re: Solr -The connection has timed out

2013-12-31 Thread Furkan KAMACI
Hi; Beside the other error lines did you realize that log lines: *java.net.BindException: Address already in use* Could you check that is there any other application that is using 8983 port? Thanks; Furkan KAMACI 2013/12/31 rakesh > Finally able to get the full log details > > ERROR - 2013-

Re: Solr search videos

2013-12-31 Thread Fkyz
Thanks! But i still got this doubt... Can Nutch crawl the entire youtube? and if it can.. how large could be the index file? Thanks Again! =) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-search-videos-tp4108731p4108861.html Sent from the Solr - User mailing list arc

Re: Not able to access solr core

2013-12-31 Thread Shawn Heisey
On 12/31/2013 1:00 AM, kumar wrote: > I have two cores "core0" and "core1" > > When i am accessing core0 using following url it is giving proper results. > > http://hostname/solr/core0/main?q=*%3A*&wt=json&indent=true > > But when i am trying to use core1 using the following url it is not givin

Re: Grouping results with group.limit return wrong numFound ?

2013-12-31 Thread Liu Bo
Hi I've met the same problem, and I've googled it around but not found direct solution. But there's a work around, do a facet on your group field, with parameters like true your_field -1 1 and then count how many facted pairs in the response. This should be the same with the number

Re: Chaining plugins

2013-12-31 Thread Liu Bo
Hi I've done similar things as paul. what I do is extending the default QueryComponent and overwrite the preparing method, then I just change the solrparams according to our logic and then call super.prepare(). Then replace the default QueryComponent with it in my search/query handler. In this

Not able to access solr core

2013-12-31 Thread kumar
Hi, I have two cores "core0" and "core1" When i am accessing core0 using following url it is giving proper results. http://hostname/solr/core0/main?q=*%3A*&wt=json&indent=true But when i am trying to use core1 using the following url it is not giving the results. saying authorization required