Re: Xpath extract element name

2010-09-21 Thread Lance Norskog
The XPath implementation only supports a few features of xpath. But, you can give it an XSL script that transforms the incoming XML before it hits the XPathEntityProcessor. You can use this to boil down the incoming to a simple format with the things you want. yklxmas wrote: Hi guys, I'm tr

Re: Calculating distances in Solr using longitude latitude

2010-09-21 Thread Lance Norskog
Developers, like marketers, have this confusing habit of speaking both in the present and an imaginary utopian future. Dennis Gearon wrote: This is what made me think it was doable now. http://wiki.apache.org/solr/SpatialSearch Dennis Gearon Signature Warning EARTH has a Ri

Re: Calculating distances in Solr using longitude latitude

2010-09-21 Thread Dennis Gearon
This is what made me think it was doable now. http://wiki.apache.org/solr/SpatialSearch 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 Tue, 9/21/10, PeterKerk wrot

Re: Calculating distances in Solr using longitude latitude

2010-09-21 Thread Dennis Gearon
For some reason, I thought that it was already in the released code, also. Soo, the short term answer is to use a function column to query against? Prefereably with a bounding box, of course. :-) Dennis Gearon Signature Warning EARTH has a Right To Life, otherwise we all d

Re: Help need in setting up delta imports

2010-09-21 Thread Erick Erickson
Updating records for a delta import is governed by the entry in schema.xml. This should probably correspond to the database primary key and be a single, un-analyzed term (i.e. probably a fieldType String). So I suspect your schema.xml definition for isn't doing what you expect and/or you haven't

Re: Solr 1.4 vs. 1.3

2010-09-21 Thread Koji Sekiguchi
> And second question about 1.4 is are there any known issues with the external scoring field and 1.4 ? Julian, Do you mean ExternalFileField? If so, there is an open issue: https://issues.apache.org/jira/browse/SOLR-1607 -- http://www.rondhuit.com/en/

RE: trie

2010-09-21 Thread Papp Richard
thank you guys for the answers... now I have to check / read some docs ;) Rich -Original Message- From: Simon Willnauer [mailto:simon.willna...@googlemail.com] Sent: Tuesday, September 21, 2010 23:00 To: solr-user@lucene.apache.org Subject: Re: trie 2010/9/21 Péter Király : > You can re

Solr 1.4 vs. 1.3

2010-09-21 Thread Julian Hille
Hi, is there any performance benchmark out there to see any improvements or changes? And second question about 1.4 is are there any known issues with the external scoring field and 1.4 ? regards, julian

Re: trie

2010-09-21 Thread Simon Willnauer
2010/9/21 Péter Király : > You can read about it in Lucene in Action second edition. have a look at http://www.lucidimagination.com/developer/whitepaper/Whats-New-in-Apache-Lucene-3-0 page 4 to 8 should give you a good intro to the topic simon > > Péter > > 2010/9/21 Papp Richard : >>  is there

Re: trie

2010-09-21 Thread Björn Wilmsmann
http://en.wikipedia.org/wiki/Trie explains pretty well what a trie is and what it's used for. In search, suffix trees (which are a special case of tries) are especially important. On 21 September 2010 21:34, Papp Richard wrote: >  is there any good tutorial how to use and what is trie? what I fou

How to tell whether a plugin is loaded?

2010-09-21 Thread Ingo Renner
Hi all, After having managed to create a query parser plugin for Solr I'd like to know whether it has been loaded. Actually I do know that it has been loaded and is working. I need to be able to get this information from a remote client though to warn users about missing plugins. http://host/s

Re: trie

2010-09-21 Thread Péter Király
You can read about it in Lucene in Action second edition. Péter 2010/9/21 Papp Richard : >  is there any good tutorial how to use and what is trie? what I found on the > net is really blurry. > > rgeards, >  Rich > > > __ Information from ESET NOD32 Antivirus, version of virus signature >

trie

2010-09-21 Thread Papp Richard
is there any good tutorial how to use and what is trie? what I found on the net is really blurry. rgeards, Rich __ Information from ESET NOD32 Antivirus, version of virus signature database 5419 (20100902) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.

RE: tricky range query?

2010-09-21 Thread Papp Richard
Hi Erick, don't really understand your question and what exactly the point is, but anyway. yes - there is a DB where data are stored, however the scheduling is just a part of the whole picture. I thought to use Solr for search / filtering results - the schedule (availability) is just one filter

Re: Searching solr with a two word query

2010-09-21 Thread noel
Thanks for all the help, this was exactly the solution I needed, it returned all results containing both words, and single words. -Original Message- From: "Thomas Joiner" Sent: Tuesday, September 21, 2010 2:53pm To: solr-user@lucene.apache.org Subject: Re: Searching solr with a two word

Help need in setting up delta imports

2010-09-21 Thread Papiya Das. Misra
We have our data in a datawarehouse where any changes are made by adding another row and marking the previous row as old my the means of a timestamp. So, for instance, the name of the table is Employee and has the following structure. Name|Address|eventtimestamp|endtimestamp John|NYC| 2010-09-2

Re: NullpointerException when combining spellcheck component and synonyms

2010-09-21 Thread Stefan Moises
Sure, no problem, I'll submit a JIRA entry :) Am 21.09.2010 16:13, schrieb Robert Muir: I don't think you should get an error like this from SynonymFilter... would you mind opening a JIRA issue? On Tue, Sep 21, 2010 at 9:49 AM, Stefan Moises wrote: Hi again, well it turns out that it sti

Re: Searching solr with a two word query

2010-09-21 Thread Thomas Joiner
I think what you want is a query like all_text:(opening excellent) AND presentation_id:294 AND type:blob which will require one of the all_text clauses to be true. On Tue, Sep 21, 2010 at 12:20 PM, wrote: > Alright, this is making much more sense now, but there are still some > problems. Remov

Re: tricky range query?

2010-09-21 Thread Erick Erickson
So it sounds like you're working on some kind of scheduling app? Which makes me wonder why you're using SOLR. Much as I like it, this sounds more like a database application than a search application. What am I missing? Best Erick On Tue, Sep 21, 2010 at 1:05 PM, Papp Richard wrote: > Hi Erik,

Re: Searching solr with a two word query

2010-09-21 Thread noel
Alright, this is making much more sense now, but there are still some problems. Removing the first AND in the query did solve a lot of things, beforehand I didn't know that it was requiring the word excel. Now I run the query as either of the two: opening excellent +presentation_id:294 +type:bl

Re: ant package

2010-09-21 Thread Erick Erickson
I really think you'd save a lot of time just downloading the native distro for your unix box, *then* making modifications. Otherwise you'll be in a never-ending loop of "what happened that time?". Really. Best Erick On Tue, Sep 21, 2010 at 8:29 AM, satya swaroop wrote: > Hi erick, >

RE: tricky range query?

2010-09-21 Thread Papp Richard
Hi Erik, first of all, thank you for your answer. Let me detail a bit the amount of data: - actually services going to persons, and the time table is per person (a person can have multiple services). - there will be around 10.000 person (or maybe 100.000 - I would like to say rather 100.000 tha

Re: multiple spatial values

2010-09-21 Thread Yonik Seeley
On Tue, Sep 21, 2010 at 12:12 PM, dan sutton wrote: > I was looking at the LatLonType and how it might represent multiple lon/lat > values ... it looks to me like the lat would go in {latlongfield}_0_LatLon > and the long in {latlongfield}_1_LatLon ... how then if we have multiple > lat/long point

multiple spatial values

2010-09-21 Thread dan sutton
Hi, I was looking at the LatLonType and how it might represent multiple lon/lat values ... it looks to me like the lat would go in {latlongfield}_0_LatLon and the long in {latlongfield}_1_LatLon ... how then if we have multiple lat/long points for a doc when filtering for example we choose the cor

Re: Solr Analyzer results before the actual query.

2010-09-21 Thread zackko
OK I've found that all the definitions for the Admin application are inside _info.jsp (inside \src\webapp\web\admin\ ). Now I will need to figure out how to make it working in a Java class... I'll keep you posted... By now thanks for the tips. Best wishes. -- View this message in context: ht

Re: NullpointerException when combining spellcheck component and synonyms

2010-09-21 Thread Robert Muir
I don't think you should get an error like this from SynonymFilter... would you mind opening a JIRA issue? On Tue, Sep 21, 2010 at 9:49 AM, Stefan Moises wrote: > Hi again, > > well it turns out that it still doesn't work ... > Sometimes it works (i.e. for some cores), sometimes I still get the

Re: NullpointerException when combining spellcheck component and synonyms

2010-09-21 Thread Stefan Moises
Hi again, well it turns out that it still doesn't work ... Sometimes it works (i.e. for some cores), sometimes I still get the nullpointer - e.g. if I create a new core and use the same settings as a working one, but index different data, then I add a synonym (e.g. "foo => bar") and activate

Re: spatial sorting

2010-09-21 Thread Grant Ingersoll
On Sep 17, 2010, at 9:45 AM, dan sutton wrote: > Hi, > > I'm trying to filter and sort by distance with this URL: > > http://localhost:8080/solr/select/?q=*:*&fq={!sfilt%20fl=loc_lat_lon}&pt=52.02694,-0.49567&d=2&sort={!func}hsin(52.02694,-0.49567,loc_lat_lon_0_d,%20loc_lat_lon_1_d,3963.205)asc

Re: Solr UIMA integration

2010-09-21 Thread Grant Ingersoll
On Sep 20, 2010, at 6:35 AM, Tommaso Teofili wrote: > 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

Re: logging for solr

2010-09-21 Thread Christopher Gross
I have added lines to my logging.properties for Tomcat: 6solr.org.apache.juli.FileHandler.level = FINE 6solr.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 6solr.org.apache.juli.FileHandler.prefix = solr. org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/solr].level =

Re: ant package

2010-09-21 Thread satya swaroop
Hi erick, thanks for reply and i got the jar file downloaded and kept it in ant library now when i make ant package command it getting error in the middle of build in generate-maven-artifacts... and the error is sa...@geodesic-desktop:~/temporary/trunk/solr$ sudo ant package

Re: ant package

2010-09-21 Thread satya swaroop
HI , ya i dont have the jar file in the ant/lib where can i get the jar file or wat is the procedure to make that maven-artifact-ant-2.0.4-dep.jar?? regards, satya

Re: ant package

2010-09-21 Thread Erick Erickson
You don't have the ant-maven jar in your ant/lib directory. On my machine it's maven-artifact-ant-2.0.4-dep.jar. That said, I'm not all that sure where it came from, but when I removed it I got the exact error you got Best Erick On Tue, Sep 21, 2010 at 5:31 AM, satya swaroop wrote: > Hi all

Re: tricky range query?

2010-09-21 Thread Erick Erickson
How efficient it would be I don't know, but depending on how many services you're talking here, efficiency may not be that big of a deal... But storing each interval as its own record along with a duration should work. You could then form a query like duration:[90 to *] AND start_time:[* to 1500]

Re: Solr UIMA integration

2010-09-21 Thread Tommaso Teofili
2010/9/20 Dennis Gearon > Looks like a great scraping engine technology :-) > Dennis Gearon > 2010/9/20 Jan Høydahl / Cominvent > 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

Xpath extract element name

2010-09-21 Thread yklxmas
Hi guys, I'm trying to map a field to name of an element in DIH. Is this possible? I'm not sure the limitation of solr on xpath. This is my sample xml I've tried . Doesn't seem to do anything. . This throws exception as xpath must start with "/" Can anyone help, please?

Re: Solr Analyzer results before the actual query.

2010-09-21 Thread zackko
Hi Lance, Thanks for the prompt reply. Looking at the analysis.jsp in the Solr release that is the code I should look at: private static void doAnalyzer(JspWriter out, SchemaField field, String val, boolean queryAnalyser, boolean verbose, Set match) throws Exception { FieldType ft = field.

ant package

2010-09-21 Thread satya swaroop
Hi all, i want to build the package of my solr and i found it can be done using ant. When i type ant package in solr module i get an error as:::\ sa...@swaroop:~/temporary/trunk/solr$ ant package Buildfile: build.xml maven.ant.tasks-check: BUILD FAILED /home/satya/temporary/trunk/solr/c

tricky range query?

2010-09-21 Thread Papp Richard
Hi all, shortly my problem: I want to filter services based on timetables, let's consider the next timetable for a day: on the date of 15.10.2010: 10:00 - 11:00 12:00 - 12:30 14:30 - 16:00 17:00 - 20:00 how could i store the timetable in Solr and efficiently search in it (let's

Re: Calculating distances in Solr using longitude latitude

2010-09-21 Thread PeterKerk
It would be such a shame if there's no way to get it now already...particularly in today's online services, geolocation is one of the hottest things there is, I definitely hope this feature gets major priority over other features. Also same question as Dennis: whats the timeline on this feature?