Re: Calculating distances in Solr using longitude latitude

2010-09-20 Thread Dennis Gearon
What's the timeline on that? For now, we write our own functions and sort by them? Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On Mon, 9/20/10, Lance Norskog wrote:

Re: Solr Analyzer results before the actual query.

2010-09-20 Thread Lance Norskog
Yes. Look at the jsp page solr/admin/analysis.jsp . This does calls to Solr which do exactly what you want. They use the AnalysisComponent. Lance zackko wrote: Hi to all the Forum from a new subscriber, I’m working on the Server Side Search solution of the Company when I’m currently employed

Re: Solr for statistical data

2010-09-20 Thread Lance Norskog
Does this do what you want? http://wiki.apache.org/solr/StatsComponent I can see that "group by" is a possible enhancement to this component. Kjetil Ødegaard wrote: Hi all, we're currently using Solr 1.4.0 in a project for statistical data, where we group and sum a number of "double" values.

Re: Calculating distances in Solr using longitude latitude

2010-09-20 Thread Lance Norskog
There is a third-party add-on for Solr 1.4 called LocalSolr. It has a different API than the upcoming SpatialSearch stuff, and will probably not live on in future releases. The LatLonType stuff is definitely only on the trunk, not even 3.x. PeterKerk wrote: Hi Dennis, Good suggestion, but I

RE: Re: Calculating distances in Solr using longitude latitude

2010-09-20 Thread Dennis Gearon
You know, if there were some sort of hexagonal/pentagonal, soccer ball coordinate system for the Earth, all you'd need is an entry's distance to each of the 6/5 facets of the cell it was in, the distance between any two facets, and the distance to the endpoint to all it's facets. A giant table o

Re: Searching solr with a two word query

2010-09-20 Thread Tom Hill
It will probably be clearer if you don't use the pseudo-boolean operators, and just use + for required terms. If you look at your output from debug, you see your query becomes:     all_text:open +all_text:excel +presentation_id:294 +type:blob Note that "all_text:open" does not have a + sign, but

Re: logging for solr

2010-09-20 Thread Christopher Gross
Thanks Jak! That was just what I was looking for! -- Chris On Mon, Sep 20, 2010 at 4:25 PM, Jak Akdemir wrote: > It is quite easy to modify its default value. Solr is using default > logging values that started to use in jvm. It can be bound as a start > parameter or can be externally defined

Re: logging for solr

2010-09-20 Thread Jak Akdemir
It is quite easy to modify its default value. Solr is using default logging values that started to use in jvm. It can be bound as a start parameter or can be externally defined in ../tomcat/conf/logging.properties. Simply it is enough to remove all contents (backup first) in ../tomcat/conf/logging

Re: Solr for statistical data

2010-09-20 Thread Alexander Kanarsky
Set up your JVM to produce the heap dumps in case of OOM and try to analyze them with a profiler like YourKit. This could give you some ideas on what takes memory and what potentially could be reduced. Sometimes the cache settings could be adjusted without significant performance toll etc. See what

RE: Re: Calculating distances in Solr using longitude latitude

2010-09-20 Thread Markus Jelsma
Hi,   In the early Solr 1.3 times we had an index with leisure-time objects that included geographical coordinates. Based on certain conditions we had to display a specific list of nearby objects. We simply implemented some Great Circle calculations such as the distance between points [1] and

Re: Searching solr with a two word query

2010-09-20 Thread noel
Say if I had a two word query that was "opening excellent", I would like it to return something like: opening excellent opening opening opening excellent excellent excellent Instead of: opening excellent excellent excellent excellent If I did a search, I would like the first word alone to also

logging for solr

2010-09-20 Thread Christopher Gross
I'm running an old version of Solr (1.2) on Apache Tomcat 5.5.25. Right now the logs all go to the catalina.out file, which has been growing rather large. I have to shut down the servers periodically to clear out that logfile because it keeps getting large and giving disk space warnings. I've tri

Re: Searching solr with a two word query

2010-09-20 Thread Erick Erickson
I'm missing what you really want out of your query, your phrase "either word as a single result" just isn't connecting in my grey matter.. Could you give some example inputs and outputs that demonstrates what you want? Best Erick On Mon, Sep 20, 2010 at 11:41 AM, wrote: > I noticed that my defa

Re: Solr starting problem

2010-09-20 Thread Erick Erickson
Are you trying to implement custom code or is this a stock release? Because if you're trying to just move a stock release over, it'd be much simpler to just unpack the distribution (for Linux) on the linux machine and go. It might be worth doing anyway just to compare the differences to see what's

Re: Calculating distances in Solr using longitude latitude

2010-09-20 Thread Dennis Gearon
Hmmm, I am about to put a engineer on our search engine requirements with the assumption that latitude/longitude is available in the current release of Solr, (not knowing what that is). I have been partitioning the whole Solr thing to him,except enough info for me to understand and i

Re: Solr UIMA integration

2010-09-20 Thread Dennis Gearon
Looks like a great scraping engine technology :-) Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all die. Read 'Hot, Flat, and Crowded' Laugh at http://www.yert.com/film.php --- On Mon, 9/20/10, Tommaso Teofili wrote: > From: Tommaso Teofili > Subj

Re: Restrict possible results based on relational information

2010-09-20 Thread Jan Høydahl / Cominvent
Hi, You could simply create an autocomplete Solr Core with a simple schema consisting of id, from, to: Let the fieldType of "from" be String, and in the fieldType of "to" you can use StandardTokenizer, WordDelimiterFilter and EdgeNGramFilter. john@mycompany.com-jane.doe@mycompany.co

Re: Solr UIMA integration

2010-09-20 Thread Jan Høydahl / Cominvent
Hi Tommaso, Really cool what you've done. Looking forward to testing it, and I'm sure it's a welcome contribution to Solr. You can easily contribute your code by opening a JIRA issue and attaching a patch file. BTW Have you considered making the output field names configurable on a per instanc

solr index different type of xml

2010-09-20 Thread yklxmas
Hello guys, I need to index 5 different kinds of xml files. They share similar structure with slight differences in each of them. example 1: 9780815341291 Essential Cell Biology,Third Edition Alberts;Bruce

Re: Searching solr with a two word query

2010-09-20 Thread noel
I noticed that my defaultOperator is "OR", and that does have an effect on what does come up. If I were to change that to and, it's an exact match to my query, but Im would like similar matches with either word as a single result. Is there another value I can use? Or maybe I should use another q

Solr starting problem

2010-09-20 Thread Yavuz Selim YILMAZ
I use solr in windows without any problem, I 'm trying to run solr in linux, ( copy all files from windows to linux ), but I'm given exceptions when I try to start solr (java -jar start.jar) java.lang.ClassNotFoundException: org.mortbay.xml.xmlConfiguration at java.net.URLClassLoader.findClass(

Re: Searching solr with a two word query

2010-09-20 Thread Erick Erickson
Here's an excellent description of the Lucene query operators and how they differ from strict boolean logic: http://www.gossamer-threads.com/lists/lucene/java-user/47928 But the short form is that (and boy, doesn't the fact that the URL

Re: Calculating distances in Solr using longitude latitude

2010-09-20 Thread PeterKerk
Hi Dennis, Good suggestion, but I see that most of that is Solr 4.0 functionality, which has not been released yet. How can I still use the longitude latitude functionality (LatLonType)? Thanks! -- View this message in context: http://lucene.472066.n3.nabble.com/Calculating-distances-in-Solr-u

Re: Solr for statistical data

2010-09-20 Thread Thomas Joiner
I don't know if this thread might help with your problems any, but it might give some pointers: http://lucene.472066.n3.nabble.com/Tuning-Solr-caches-with-high-commit-rates-NRT-td1461275.html --Thoma

SolrCloud new....

2010-09-20 Thread satya swaroop
Hi all, I am having 4 instances of solr in 4 systems.Each system has a single instance of solr.. I want the result from all these servers. I came to know using of solrcloud. I read about it and worked on the example and it was working as given in wiki. I am using solr 1.4 and apache tomcat

Re: Searching solr with a two word query

2010-09-20 Thread noel
Here is my raw query: q=opening+excellent+AND+presentation_id%3A294+AND+type%3Ablob&version=1.3&json.nl=map&rows=10&start=0&wt=xml&hl=true&hl.fl=text&hl.simple.pre=&hl.simple.post=<%2Fspan>&hl.fragsize=0&hl.mergeContiguous=false&debugQuery=on and here is what I get on the debugQuery: − openi

Re: Solr for statistical data

2010-09-20 Thread Kjetil Ødegaard
On Thu, Sep 16, 2010 at 11:48 AM, Peter Karich wrote: > Hi Kjetil, > > is this custom component (which performes groub by + calcs stats) > somewhere available? > I would like to do something similar. Would you mind to share if it > isn't already available? > > The grouping stuff sounds similar to

NGram and word boundaries?

2010-09-20 Thread Harry Hochheiser
I've got a question regarding NGramFilterFactory. It seems to work very well, but I've had trouble getting it to work with other filters. Specifically, if I have an index analyzer that uses a StandardTokenizerFactory to tokenize and follows it up with an NGramFilterFactory, it does a fine job of

Solr Analyzer results before the actual query.

2010-09-20 Thread zackko
Hi to all the Forum from a new subscriber, I’m working on the Server Side Search solution of the Company when I’m currently employed with. I have a problem at the moment: When I will submit a search to Solr I want to see the “Analyzer results”, with all the Filter applied to it as defined into th

Re: Restrict possible results based on relational information

2010-09-20 Thread Chantal Ackermann
hi Stefan > users can send privates messages, the selection of recipients is done via > auto-complete. therefore we need to restrict the possible results based on > the users confirmed contacts - but i have absolutely no idea how to do that > :/ Add all confirmed contacts to the index, and use it

Restrict possible results based on relational information

2010-09-20 Thread Stefan Matheis
Hi List, this is my first message on this list, so if there's something missing/incorrect, please let me know :) the current problem, described in short words followed by an short example, is the following one: users can send privates messages, the selection of recipients is done via auto-comple

Solr UIMA integration

2010-09-20 Thread Tommaso Teofili
Hi all, I am working on integrating Apache UIMA as un UpdateRequestProcessor for Apache Solr and I am now at the first working snapshot. I put the code on GoogleCode [1] and you can take a look at the tutorial [2]. I would be glad to donate it to the Apache Solr project, as I think it could be a u

Re: Help: java.lang.OutOfMemoryError: PermGen space

2010-09-20 Thread Peter Karich
see http://stackoverflow.com/questions/88235/how-to-deal-with-java-lang-outofmemoryerror-permgen-space-error and the links there. There seems to be no good solution :-/ The only reliable solution is restart, before you haven't enough permgenspace (use jvisualvm to monitor) And try to increase -XX:

Help: java.lang.OutOfMemoryError: PermGen space

2010-09-20 Thread Markus.Rietzler
the second time we had the error java.lang.OutOfMemoryError: PermGen space and solr stopped responding. we use the default jetty installation with jdk1.6.0_21. after the last time i tried to set the garbage collector "right" these are my settings: -D64 -server -Xms892m -Xmx2048m