Geographic clustering

2009-09-08 Thread gwk
Hi, I'm working on a search-on-map interface for our website. I've created a little proof of concept which uses the MarkerClusterer (http://code.google.com/p/gmaps-utility-library-dev/) which clusters the markers nicely. But because sending tens of thousands of markers over Ajax is not quite

date field

2009-09-08 Thread Gérard Dupont
Hi all, I'm currently facing a little difficulty to index and search on date field. The indexing is done in the right way (I guess) and I can find valid date in the field like 2009-05-01T12:45:32Z. However when I'm searching the user don't always give an exact date. for instance they give

DIH applying variosu transformers to a field

2009-09-08 Thread Marc Sturlese
Hey there, I am using DIH to import a db table and and have writed a custom transformer following the example: package foo; public class CustomTransformer1{ public Object transformRow(MapString, Object row) { String artist = row.get(artist); if

fl query option limitations

2009-09-08 Thread Marcin Kuptel
Hi, How can I make this kind of query work: ...fl=Output Channels where Output Channels is the name of a field? Escaping the whitespace in the field's name does not seem to work. Regards, Marcin Kuptel

Re: SOLR-769 clustering

2009-09-08 Thread Wang Guangchen
Hi Staszek, I try to apply the stoplabels with the instructions that you given in the solr clustering Wiki. But it didn't work. I am runing the patched solr on tomcat. So to enable the stop label. I add -cp dir-with-your-modified-stopwords in to my system's CATALINA_OPTS. I tried to change the

Re: DIH applying variosu transformers to a field

2009-09-08 Thread Shalin Shekhar Mangar
On Tue, Sep 8, 2009 at 2:40 PM, Marc Sturlese marc.sturl...@gmail.comwrote: I'm wondering if I write a second transformer and put it in data-config.xml after CustomTransformer1. Will the input value of the row in the second transformer be the result of the transformed row in the

Lucid's Solr Showcase, MLT?

2009-09-08 Thread Ingo Renner
Hi all, I'm currently trying to build something similar to Lucid imaginations's Solr showcase. There you can select a single message and get all the related messages from the same thread as a menu on the left. How is that done? Is that menu using Solr's More Like This feature? How is the

LocalParams for faceting in nightly

2009-09-08 Thread gareth rushgrove
Hi All Hoping someone might be able to help me with a problem. I downloaded and got up and running with the latest nightly release of Solr: http://people.apache.org/builds/lucene/solr/nightly/solr-2009-09-08.zip In order to try out the tagging and excluding filters which have a note saying they

Re: LocalParams for faceting in nightly

2009-09-08 Thread Yonik Seeley
Try changing {!ex=colour}%20material to {!ex=colour}material local params syntax is a prefix to a parameter value - whitespace might be significant so it is not removed. -Yonik http://www.lucidimagination.com On Tue, Sep 8, 2009 at 8:53 AM, gareth rushgrovegar...@morethanseven.net wrote: Hi

Re: LocalParams for faceting in nightly

2009-09-08 Thread gwk
Hi Gareth, Try removing the space between de closing bracket } and the field name, I think that should work. Regards, gwk gareth rushgrove wrote: Hi All Hoping someone might be able to help me with a problem. I downloaded and got up and running with the latest nightly release of Solr:

Re: LocalParams for faceting in nightly

2009-09-08 Thread gareth rushgrove
Thanks for the quick replies guys. Afraid that didn't work. 2009/9/8 gwk g...@eyefi.nl: Try removing the space between de closing bracket } and the field name, I think that should work. I tried:

Re: LocalParams for faceting in nightly

2009-09-08 Thread Yonik Seeley
This should work, and there are unit tests. Make sure the server you are talking to is a recent release of 1.4, and then get the full stack trace from the solr server. -Yonik http://www.lucidimagination.com On Tue, Sep 8, 2009 at 9:08 AM, gareth rushgrovegar...@morethanseven.net wrote:

Re: SOLR-769 clustering

2009-09-08 Thread Grant Ingersoll
On Sep 8, 2009, at 5:11 AM, Wang Guangchen wrote: Hi Staszek, I try to apply the stoplabels with the instructions that you given in the solr clustering Wiki. But it didn't work. I am runing the patched solr on tomcat. So to enable the stop label. I add -cp

Re: fl query option limitations

2009-09-08 Thread Grant Ingersoll
On Sep 8, 2009, at 5:10 AM, Marcin Kuptel wrote: Hi, How can I make this kind of query work: ...fl=Output Channels where Output Channels is the name of a field? Escaping the whitespace in the field's name does not seem to work. I don't think whitespace in a field name is ever

Re: LocalParams for faceting in nightly

2009-09-08 Thread gareth rushgrove
Mmmm 2009/9/8 Yonik Seeley yo...@lucidimagination.com: This should work, and there are unit tests.  Make sure the server you are talking to is a recent release of 1.4, and then get the full stack trace from the solr server. I'm running the release with the following in the CHANGES.txt file.

getTextContent() caused my local solr build failed

2009-09-08 Thread 张跃
All the follwing .getTextContent() failed , which caused my local solr build failed, althogh it is just sync-ed with the SVN build. list.add(nodeList.item(i).getTextContent()); assertEquals(prefix-proptwo-suffix, nl.item(0).getTextContent()); Node node = solrConfig.getNode(propTest, true);

Re: Geographic clustering

2009-09-08 Thread gwk
Hi, I just completed a simple proof-of-concept clusterer component which naively clusters with a specified bounding box around each position, similar to what the javascript MarkerClusterer does. It's currently very slow as I loop over the entire docset and request the longitude and latitude of

Re: SOLR-769 clustering

2009-09-08 Thread Stanislaw Osinski
Hi there, I try to apply the stoplabels with the instructions that you given in the solr clustering Wiki. But it didn't work. I am runing the patched solr on tomcat. So to enable the stop label. I add -cp dir-with-your-modified-stopwords in to my system's CATALINA_OPTS. I tried to change the

Re: LocalParams for faceting in nightly

2009-09-08 Thread Yonik Seeley
The following works on the example data for me: http://localhost:8983/solr/select?q=*:*fq={!tag=foo}cat:memoryfacet=truefacet.field={!ex=foo}cat What's the line in the solr log after the exception (it should contain the parameters solr thinks it got)? -Yonik http://www.lucidimagination.com

Re: Geographic clustering

2009-09-08 Thread Grant Ingersoll
Not directly related to geo clustering, but http://issues.apache.org/jira/browse/SOLR-769 is all about a pluggable interface to clustering implementations. It currently has Carrot2 implemented, but the APIs are marked as experimental. I would definitely be interested in hearing your

Re: Geographic clustering

2009-09-08 Thread Joe Calderon
there are clustering libraries like http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/, that have bindings to perl/python, you can preprocess your results and create clusters for each zoom level On Tue, Sep 8, 2009 at 8:08 AM, gwkg...@eyefi.nl wrote: Hi, I just completed a simple

Re: Whitespace in query

2009-09-08 Thread AHMET ARSLAN
--- On Tue, 9/8/09, Dean Pullen dean.pul...@msp-uk.com wrote: From: Dean Pullen dean.pul...@msp-uk.com Subject: Whitespace in query To: solr-user@lucene.apache.org solr-user@lucene.apache.org Date: Tuesday, September 8, 2009, 7:10 PM Hi all, I'm trying to filter by a 'document name'

Backups using Replication

2009-09-08 Thread wojtekpia
I'm trying to create data backups using the ReplicationHandler's built in functionality. I've configured my master as http://wiki.apache.org/solr/SolrReplication documented : requestHandler name=/replication class=solr.ReplicationHandler lst name=master ... str

Whitespace in query

2009-09-08 Thread Dean Pullen
Hi all, I'm trying to filter by a 'document name' which has spaces in it. (E.g. docname:Struts 1 ) However, the query parameter throws an exception: [08 Sep 2009 17:01:36] DEBUG httpclient.wire.header - GET /solr/select/?q=((docname:Struts 1))fl=idstart=0rows=1 HTTP/1.1[\r][\n][08 Sep 2009

Re: date field

2009-09-08 Thread Silent Surfer
Hi, If you are still not went live already, I would suggest to use the long instead of date field. According to our testing, search based on date fields are very slow when compared to search based on long field. You can use System.getTimeInMillis() to get the time When showing it to the user,

Re: date field

2009-09-08 Thread Gérard Dupont
Thanks for the answer. However we don't have strong performance issue (for now) and it that case, how do you face query where time part is missing ? On Tue, Sep 8, 2009 at 17:44, Silent Surfer silentsurfe...@yahoo.comwrote: Hi, If you are still not went live already, I would suggest to use

An issue with commit/ using Solr Cell and multiple files

2009-09-08 Thread Kevin Miller
I am using the Solr nightly build from 8/11/2009. I am able to index my documents using the Solr Cell but when I attempt to send the commit command I get an error. I am using the example found in the Solr 1.4 Enterprise Search Server book (recently released) found on page 84. It shows to commit

Re: An issue with commit/ using Solr Cell and multiple files

2009-09-08 Thread Grant Ingersoll
solr/examples/exampledocs/post.sh does: curl $URL --data-binary 'commit/' -H 'Content-type:text/xml; charset=utf-8' Not sure if that helps or how it compares to the book. On Sep 8, 2009, at 1:48 PM, Kevin Miller wrote: I am using the Solr nightly build from 8/11/2009. I am able to index

Highlighting... is highlighting too many fields

2009-09-08 Thread John Eberly
I currently have highlighting working, but when I search for Query: smith~ category_id:(1 OR 2 OR 3) Results: name: Mr. John emSmith/em, addresses: em1/em Main St, NYC, NY, 55em2/em666 Why does it show highlights on the addresses, when I specifically sent in a query for category_id? When I set

Re: SOLR-769 clustering

2009-09-08 Thread Wang Guangchen
On Tue, Sep 8, 2009 at 9:56 PM, Grant Ingersoll gsing...@apache.org wrote: On Sep 8, 2009, at 5:11 AM, Wang Guangchen wrote: Hi Staszek, I try to apply the stoplabels with the instructions that you given in the solr clustering Wiki. But it didn't work. I am runing the patched solr on

RE: An issue with commit/ using Solr Cell and multiple files

2009-09-08 Thread Kevin Miller
I am getting the same error message. I am running Solr on a Windows machine. Is the commit command a curl command or is it a Solr command? Kevin Miller Web Services -Original Message- From: Grant Ingersoll [mailto:gsing...@apache.org] Sent: Tuesday, September 08, 2009 12:52 PM To:

Re: SOLR-769 clustering

2009-09-08 Thread Wang Guangchen
Hi Staszek, I tried your quick and dirty hack too. It didn't work also. phase like Carbon Atoms in the Group with in still appear in my clustering labels. What i did is, 1. use java uf carrot2-mini.jar stoplabels.en command to replace the stoplabel.en file. 2. apply clustering patch. re-complie

Passing FuntionQuery string parameters

2009-09-08 Thread wojtekpia
Hi, I'm writing a function query to score documents based on Levenshtein distance from a string. I want my function calls to look like: lev(myFieldName, 'my string to match') I'm running into trouble parsing the string I want to match ('my string to match' above). It looks like all the built

RE: An issue with commit/ using Solr Cell and multiple files

2009-09-08 Thread caman
seems to be an error with curl Kevin Miller-17 wrote: I am getting the same error message. I am running Solr on a Windows machine. Is the commit command a curl command or is it a Solr command? Kevin Miller Web Services -Original Message- From: Grant Ingersoll

Re: Highlighting... is highlighting too many fields

2009-09-08 Thread AHMET ARSLAN
I currently have highlighting working, but when I search for Query: smith~ category_id:(1 OR 2 OR 3) Results: name: Mr. John emSmith/em, addresses: em1/em Main St, NYC, NY, 55em2/em666 Why does it show highlights on the addresses, when I specifically sent in a query for category_id?  When

Misleading log messages while deploying solr

2009-09-08 Thread con
Hi I am deploying solr in jboss and is indexing data from db. Everything works fine and i am getting correct response. But the log message that is getting print in the server console, in my case jboss, is showing status as error. Why is this showing as ERROR, even though things are working

Re: SOLR-769 clustering

2009-09-08 Thread Stanislaw Osinski
Hi, It seems like the problem can be on two layers: 1) getting the right contents of stop* files for Carrot2, 2) making sure Solr picks up the changes. I tried your quick and dirty hack too. It didn't work also. phase like Carbon Atoms in the Group with in still appear in my clustering labels.

Re: abortOnConfigurationError=false not taking effect in solr 1.3

2009-09-08 Thread djain101
Any help is much appreciated. Thanks, Dharmveer djain101 wrote: Hi, We have set abortOnConfigurationErrorfalse/abortOnConfigurationError in solrconfig.xml for all the cores but still whenever any configuration error occurs search does not work in any of the cores. Is there any other

Dynamically building the value of a field upon indexing

2009-09-08 Thread Villemos, Gert
I would like to build the value of a field based on the value of multiple other fields at submission time. I.e. I would like to submit a document such as; field name=field1foo/field field name=field2baa/field And would like SOLR to store the document as field name=field1foo/field field

Re: abortOnConfigurationError=false not taking effect in solr 1.3

2009-09-08 Thread Mark Miller
Yes - try adding it to solr.xml - thats where the CoreContainer looks for it. -- - Mark http://www.lucidimagination.com djain101 wrote: Any help is much appreciated. Thanks, Dharmveer djain101 wrote: Hi, We have set abortOnConfigurationErrorfalse/abortOnConfigurationError in

Re: abortOnConfigurationError=false not taking effect in solr 1.3

2009-09-08 Thread Mark Miller
solr persistent=false !-- adminPath: RequestHandler path to manage cores. If 'null' (or absent), cores will not be manageable via REST -- cores adminPath=/admin/cores bool name=abortOnConfigurationErrorfalse/bool core name=core0 instanceDir=core0 / core name=core1

Re: abortOnConfigurationError=false not taking effect in solr 1.3

2009-09-08 Thread djain101
Thanks a lot. I will try this. markrmiller wrote: solr persistent=false !-- adminPath: RequestHandler path to manage cores. If 'null' (or absent), cores will not be manageable via REST -- cores adminPath=/admin/cores bool name=abortOnConfigurationErrorfalse/bool

Specifying multiple documents in DataImportHandler dataConfig

2009-09-08 Thread Rupert Fiasco
I am using the DataImportHandler with a JDBC datasource. From my understanding of DIH, for each of my content types e.g. Blog posts, Mesh Categories, etc I would construct a series of document/entity sets, like dataConfig dataSource driver=com.mysql.jdbc.Driver url=jdbc:mysql:// / !--

Re: Dynamically building the value of a field upon indexing

2009-09-08 Thread Chris Hostetter
: Subject: Dynamically building the value of a field upon indexing : References: 25332254.p...@talk.nabble.com 25354786.p...@talk.nabble.com http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to

Re: Concept Expansion

2009-09-08 Thread Chris Hostetter
: Subject: Concept Expansion : References: : 847931a70909041446x79f7b600g27ea556c85691...@mail.gmail.comc68e39170909 : 050858i5b6bc063o79c1eac06e1c5...@mail.gmail.com : 847931a70909051050x41d0b8b2jd6424312c3ee5...@mail.gmail.com http://people.apache.org/~hossman/#threadhijack Thread

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-09-08 Thread Rupert Fiasco
Maybe I should be more clear: I have multiple tables in my DB that I need to save to my Solr index. In my app code I have logic to persist each table, which maps to an application model to Solr. This is fine. I am just trying to speed up indexing time by using DIH instead of going through my

Re: date field

2009-09-08 Thread Chris Hostetter
: the field like 2009-05-01T12:45:32Z. However when I'm searching the user : don't always give an exact date. for instance they give 2008-05-01 to get whatever date your users give you, you'll need to format it in the full ISO format in order to query on it (ie: 2008-05-01 into

Re: Does the default operator affect phrase searching?

2009-09-08 Thread Chris Hostetter
: My problem was that somewhere along the way I picked up the mis-understanding : that I could do a phrase search like Text:david pdf and Solr/lucene would pick up : all documents that hit the field Text with either 'david' or 'pdf'. Now, I'm just doing the you were probably thinking of

Re: Drill down into hierarchical facet : how to?

2009-09-08 Thread Chris Hostetter
: I know I can make a facet query : something like Europe/France/* to search all POI in France : but how can I show the facet level under France (Paris, Lyon etc ...) ??? i don't fully understand your question, so i'm not sure if you mean filter query (fq) instead of facet query (facet.query)

Re: Misleading log messages while deploying solr

2009-09-08 Thread Chris Hostetter
: But the log message that is getting print in the server console, in my case : jboss, is showing status as error. : Why is this showing as ERROR, even though things are working fine. Solr is not declaring that those messages are ERRORs, solr is just logging informational messages (hence then

Re: date field

2009-09-08 Thread Israel Ekpo
Hi Gérard, Concerning the issue with the : character you can use the ClientUtils.escapeQueryChars() method to handle special characters that are part of the query syntax. The complete list of special characters is in the source code. check out the following resources

solrj DocumentObjectBinder prints to stdout

2009-09-08 Thread Ilan Rabinovitch
Hello, We recently noticed that the inject method of DocumentObjectBinder [1] in solr4j logs to standard out using System.out.println if any variables in the returned result have null value. The system.out.println statement was added on 2009-07-14 as part of SOLR-1129. This can get quite

Re: Specifying multiple documents in DataImportHandler dataConfig

2009-09-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
DIH allows only document tag. you may have multiple root entity tags and you may invoke them by name(s). When no name is passed all root entities are invoked one after another. On Wed, Sep 9, 2009 at 5:12 AM, Rupert Fiascorufia...@gmail.com wrote: Maybe I should be more clear: I have multiple

Re: abortOnConfigurationError=false not taking effect in solr 1.3

2009-09-08 Thread djain101
Hi, I tried the bool name=abortOnConfigurationErrorfalse/bool in solr.xml but it does not seem to be working for me. I manually modified solrconfig.xml for core1 to have an invalid path in datadir. And when i restarted my app server (jboss), it threw following error which is what is expected.

Re: Passing FuntionQuery string parameters

2009-09-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
did you implement your own ValueSourceParser . the FunctionQParser#parseArg() method supports strings On Wed, Sep 9, 2009 at 12:10 AM, wojtekpiawojte...@hotmail.com wrote: Hi, I'm writing a function query to score documents based on Levenshtein distance from a string. I want my function

Re: SnowballPorterFilterFactory stemming word question

2009-09-08 Thread Chris Hostetter
: Thanks Hoss : Could you please provide with any example : : Does solr provide any implementation for dictionary stemmer, please let me As mentioned on the wiki... http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters Expansion stemming -- Takes a root word and 'expands' it to all of

Re: Backups using Replication

2009-09-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
which version of Solr are you using? the backupAfter name was introduced recently On Tue, Sep 8, 2009 at 10:26 PM, wojtekpiawojte...@hotmail.com wrote: I'm trying to create data backups using the ReplicationHandler's built in functionality. I've configured my master as

Re: solrj DocumentObjectBinder prints to stdout

2009-09-08 Thread Noble Paul നോബിള്‍ नोब्ळ्
I just removed it and checked it in. Thanks On Wed, Sep 9, 2009 at 8:12 AM, Ilan Rabinovitchi...@fonz.net wrote: Hello, We recently noticed that the inject method of DocumentObjectBinder [1] in solr4j logs to standard out using System.out.println if any variables in the returned result have

Re: Whitespace in query

2009-09-08 Thread Chris Hostetter
: Subject: Whitespace in query : : Hi all, : : I'm trying to filter by a 'document name' which has spaces in it. : (E.g. docname:Struts 1 ) 1) if you want to make a string with field with a space in it, that typically means using quotes -- either to query a literaly string field exactly or

Re: SnowballPorterFilterFactory stemming word question

2009-09-08 Thread Yonik Seeley
On Mon, Sep 7, 2009 at 2:49 AM, darnizrnizamud...@edmunds.com wrote: Does solr provide any implementation for dictionary stemmer, please let me know The Krovetz stemmer is dictionary based (english only): http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters/Kstem But from your original