Re: stopfilterFactory isn't removing field name

2009-09-14 Thread mike anderson
Yeah.. that was weird. removing the line forever,for ever from my synonyms file fixed the problem. In fact, i was having the same problem for every double word like that. I decided I didn't really need the synonym filter for that field so I just took it out, but I'd really like to know what the

Re: Issue on Facet field and exact match

2009-09-14 Thread Shalin Shekhar Mangar
On Mon, Sep 14, 2009 at 10:49 AM, dharhsana rekha.dharsh...@gmail.comwrote: This is my coding where i add fileds for blog details to solr, SolrInputDocument solrInputDocument = new SolrInputDocument(); solrInputDocument.addField(blogTitle,$Never Fails$);

Re: [DIH] Multiple repeat XPath stmts

2009-09-14 Thread Grant Ingersoll
As I said, copying is not an option. That will break everything else. On Sep 14, 2009, at 1:07 AM, Noble Paul നോബിള്‍ नोब्ळ् wrote: The XPathRecordreader has a limit one mapping per xpath. So copying is the best solution On Mon, Sep 14, 2009 at 2:54 AM, Fergus McMenemie

Re: [DIH] Multiple repeat XPath stmts

2009-09-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
if you wish to use conditional copy you can use a RegexTransformer field column=guid xpath=/rss/channel/guid/ field column=id regex=.* sourceColName=guid replaceWith=${entityname.guid}/ this means that if guid!= null 'id' will be set to guid On Mon, Sep 14, 2009 at 4:16 PM, Grant Ingersoll

Re: Seeking help setting up solr in eclipse

2009-09-14 Thread Grant Ingersoll
I'm not familiar w/ Eclipse, but do you need to set solr.solr.home? Perhaps http://wiki.apache.org/solr/SolrTomcat can help too. On Sep 13, 2009, at 7:12 PM, Markus Fischer wrote: Hi, I'ld like to set up Eclipse to run solr (in Tomcat for example), but struggling with the issue that I

Questions on copyField

2009-09-14 Thread Rahul R
Hello, I have a few questions regarding the copyField directive in schema.xml 1. Does the destination field store a reference or the actual data ? If I have soemthing like this copyField source=name dest=text/ then will the values in the 'name' field get copied into the 'text' field or will the

Searching for the '+' character

2009-09-14 Thread Paul Forsyth
Hi all, I need some help with a curious problem i can't find a solution for. I am somewhat of a newbie with the various analyzers and handlers and how they work together, so im looking for advice on how to proceed with my issue. I have content with text like 'product+' which has been

Solr results filtered on MoreLikeThis

2009-09-14 Thread Marcelk
Hi, I hope someone can help me in my search for finding the right solution for my search application. I hope I'm not repeating a question that has been asked before, but I could not find a similar question out there. So that is why I'm asking it here... Here goes: My index contains documents

Re: standard requestHandler components

2009-09-14 Thread Peter Wolanin
I just copied this information to the wiki at http://wiki.apache.org/solr/SolrRequestHandler -Peter On Fri, Sep 11, 2009 at 7:43 PM, Jay Hill jayallenh...@gmail.com wrote: RequestHandlers are configured in solrconfig.xml. If no components are explicitly declared in the request handler config

Re: stopfilterFactory isn't removing field name

2009-09-14 Thread Yonik Seeley
Thanks, I'll see if I can reproduce... -Yonik http://www.lucidimagination.com On Mon, Sep 14, 2009 at 2:10 AM, mike anderson saidthero...@gmail.com wrote: Yeah.. that was weird. removing the line forever,for ever from my synonyms file fixed the problem. In fact, i was having the same problem

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
Hi all, I need some help with a curious problem i can't find a solution for. I am somewhat of a newbie with the various analyzers and handlers and how they work together, so im looking for advice on how to proceed with my issue. I have content with text like 'product+' which has been

Configuring slaves for a master backup without restarting

2009-09-14 Thread nourredine khadri
Hi, A question about scalability. Let imagine the following architecture based on Master/Slave schema : - A master for the indexation called Master 1 - A backup of Master 1 (called Master 2) - Several slaves for search linked to Master 1 Can I configure the slaves to be automatically linked

Re: shards and facet_count

2009-09-14 Thread Paul Rosen
Shalin Shekhar Mangar wrote: On Fri, Sep 11, 2009 at 2:35 AM, Paul Rosen p...@performantsoftware.comwrote: Hi again, I've mostly gotten the multicore working except for one detail. (I'm using solr 1.3 and solr-ruby 0.0.6 in a rails project.) I've done a few queries and I appear to be able

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
Hi Ahmet, I believe its the WhitespaceTokenizerFactory, but i may be wrong. I've pasted the schema.xml into http://pastie.org/616162 On 14 Sep 2009, at 14:29, AHMET ARSLAN wrote: Hi all, I need some help with a curious problem i can't find a solution for. I am somewhat of a newbie with

Dataimport MySQLNonTransientConnectionException: No operations allowed after connection closed

2009-09-14 Thread palexv
I know that my issue is related to http://www.nabble.com/dataimporthandler-and-multiple-delta-import-td19160129.html#a19160129 and https://issues.apache.org/jira/browse/SOLR-728 but my case is quite different. As I understand patch at https://issues.apache.org/jira/browse/SOLR-728 prevents

Re: Configuring slaves for a master backup without restarting

2009-09-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
you can put both master1 and master2 behind a VIP. If Master 1 goes down make the VIP point to Master2 On Mon, Sep 14, 2009 at 7:11 PM, nourredine khadri nourredin...@yahoo.com wrote: Hi, A question about scalability. Let imagine the following architecture based on Master/Slave schema : -

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
Hi Ahmet, I believe its the WhitespaceTokenizerFactory, but i may be wrong. I've pasted the schema.xml into http://pastie.org/616162 I looked at your field type named text. WordDelimiterFilterFactory is eating up '+' You can use .../solr/admin/analysis.jsp tool to see behaviour of

Re: Single Core or Multiple Core?

2009-09-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
The problem is that, if we use multicore it forces you to use a core name. this is inconvenient. We must get rid of this restriction before we move single-core to multicore. On Sat, Sep 12, 2009 at 3:14 PM, Uri Boness ubon...@gmail.com wrote: +1 Can you add a JIRA issue for that so we can

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
--- On Mon, 9/14/09, Paul Forsyth p...@ez.no wrote: From: Paul Forsyth p...@ez.no Subject: Re: Searching for the '+' character To: solr-user@lucene.apache.org Date: Monday, September 14, 2009, 5:55 PM With words like 'product+' i'd expect a search for '+' to return results like any other

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
With words like 'product+' i'd expect a search for '+' to return results like any other character or word, so '+' would be found within 'product+' or similar text. I've tried removing the worddelimiter from the query analyzer, restarting and reindexing but i get the same result. Nothing is

Re: Single Core or Multiple Core?

2009-09-14 Thread Israel Ekpo
I concur with Uri, but I would also add that it might be helpful to specify a default core to use somewhere in the configuration file. So that if no core is specified, the default one will be implicitly selected. I am not sure if this feature is available yet. What do you think? On Mon, Sep

Re: Single Core or Multiple Core?

2009-09-14 Thread Shalin Shekhar Mangar
On Mon, Sep 14, 2009 at 8:16 PM, Uri Boness ubon...@gmail.com wrote: Is it really a problem? I mean, as i see it, solr to cores is what RDBMS is to databases. When you connect to a database you also need to specify the database name. The problem is compatibility. If we make solr.xml

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
Thanks Ahmet, Thats excellent, thanks :) I may have to increase the gramsize to take into account other possible uses but i can now read around these filters to make the adjustments. With regard to WordDelimiterFilterFactory. Is there a way to place a delimiter on this filter to still

Re: Searching for the '+' character

2009-09-14 Thread Chantal Ackermann
Paul Forsyth schrieb: Hi Erick, In this specific case my client does have a new product with a '+' at the end. Its just one of those odd ones! Customers are expected to put + into the search box so i have to have results to show. I hear your concerns though. Originally i thought I would

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
Hi Erick, In this specific case my client does have a new product with a '+' at the end. Its just one of those odd ones! Customers are expected to put + into the search box so i have to have results to show. I hear your concerns though. Originally i thought I would need to transform

Re: Dataimport MySQLNonTransientConnectionException: No operations allowed after connection closed

2009-09-14 Thread palexv
I am using 1.3 Do you suggest 1.4 from developer trunk? I am concern if it stable. Is it safe to use it in big commerce app? Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: which version of Solr are you using. can you try with a recent one and confirm this? On Mon, Sep 14, 2009 at 7:45 PM, palexv

Re: Searching for the '+' character

2009-09-14 Thread Erick Erickson
Before you go too much further with this, I've just got to ask whetherthe use case for searching product+ really serves your customers. If you mess around with analyzers to make things include the +, what does that mean for ? *? .? any other weird character you can think of? Would it be a bad

50% discount on Taming Text , Lucene in Action, etc

2009-09-14 Thread Fuad Efendi
http://www.manning.com/ingersoll/ And other books too, such as Lucene in Action 3rd edition... PDF only (MEAP) Today Only! Save 50% on any ebook! This offer applies to all final ebooks or ebook editions purchased through the Manning Early Access Program. Enter code pop0914 in the Promotional Code

Only one usage of each socket address error

2009-09-14 Thread R. Tan
Hi guys, I'm getting an exception while in the middle of a batch indexing job. Can anybody help me figure this out? Error: Only one usage of each socket address (protocol/network address/port) is normally permitted 127.0.0.1:8080 Solr is 1.4 on Tomcat. Big thanks. Rihaed

Re: Single Core or Multiple Core?

2009-09-14 Thread Uri Boness
Is it really a problem? I mean, as i see it, solr to cores is what RDBMS is to databases. When you connect to a database you also need to specify the database name. Cheers, Uri On Sep 14, 2009, at 16:27, Noble Paul നോബിള്‍ नो ब्ळ् noble.p...@corp.aol.com wrote: The problem is that, if

Re : Configuring slaves for a master backup without restarting

2009-09-14 Thread nourredine khadri
Good idea. Thanks. Also, in such architecture (Master/Slave), is there any best practices for index stored on an NFS mounted filesystem ? Specially about the rsync step, when the slaves want to synchronize their index from a remote filesystem (pb of inconsistent views of the directory).

Re: Dataimport MySQLNonTransientConnectionException: No operations allowed after connection closed

2009-09-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
which version of Solr are you using. can you try with a recent one and confirm this? On Mon, Sep 14, 2009 at 7:45 PM, palexv pal...@gmail.com wrote: I know that my issue is related to http://www.nabble.com/dataimporthandler-and-multiple-delta-import-td19160129.html#a19160129 and

Re: Single Core or Multiple Core?

2009-09-14 Thread Jonathan Ariel
Yes, I think it is better to be backward compatible or the impact of moving to the new solr version would be big. On Mon, Sep 14, 2009 at 12:24 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Mon, Sep 14, 2009 at 8:16 PM, Uri Boness ubon...@gmail.com wrote: Is it really a

Re: Searching for the '+' character

2009-09-14 Thread Paul Forsyth
Interesting. I thought that would be the 'hard' approach rather than add a filter, but i guess thats all it really is anyway. Has this been done before? Build a filter to transform a word there and back? On 14 Sep 2009, at 17:17, Chantal Ackermann wrote: Paul Forsyth schrieb: Hi

Disabling tf (term frequency) during indexing and/or scoring

2009-09-14 Thread Aaron McKee
Hello, Let me preface this by admitting that I'm still fairly new to Lucene and Solr, so I apologize if any of this sounds naive and I'm open to thinking about my problem differently. I'm currently responsible for a rather large dataset of business records that I'm trying to build a

Re: KStem download

2009-09-14 Thread darniz
Pascal Dimassimo wrote: Hi, I want to try KStem. I'm following the instructions on this page: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters/Kstem ... but the download link doesn't work. Is anyone know the new location to download KStem? I am stuck with the same

Re: KStem download

2009-09-14 Thread Yonik Seeley
On Mon, Sep 14, 2009 at 1:56 PM, darniz rnizamud...@edmunds.com wrote: Pascal Dimassimo wrote: Hi, I want to try KStem. I'm following the instructions on this page: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters/Kstem ... but the download link doesn't work. Is anyone know

Return one word - Auto Complete Request Handler

2009-09-14 Thread Mohamed Parvez
I am trying configure an request handler that will be uses in the Auto Complete Query. I am limiting the result to one field by using the fl parameter, which can be used to specify field to return. How to make the field return only one word not full sentences. Thanks/Regards, Parvez

Seattle / PNW Hadoop/Lucene/HBase Meetup, Wed Sep 30th

2009-09-14 Thread Bradford Stephens
Greetings, It's time for another Hadoop/Lucene/ApacheCloud Stack meetup! This month it'll be on Wednesday, the 30th, at 6:45 pm. We should have a few interesting guests this time around -- someone from Facebook may be stopping by to talk about Hive :) We've had great attendance in the past few

Re: Searching for the '+' character

2009-09-14 Thread AHMET ARSLAN
Thanks Ahmet, Thats excellent, thanks :) I may have to increase the gramsize to take into account other possible uses but i can now read around these filters to make the adjustments. With regard to WordDelimiterFilterFactory. Is there a way to place a delimiter on this filter to still

Re: KStem download

2009-09-14 Thread Joe Calderon
is the source for the lucid kstemmer available ? from the lucid solr package i only found the compiled jars On Mon, Sep 14, 2009 at 11:04 AM, Yonik Seeley yo...@lucidimagination.com wrote: On Mon, Sep 14, 2009 at 1:56 PM, darniz rnizamud...@edmunds.com wrote: Pascal Dimassimo wrote: Hi, I

Re: KStem download

2009-09-14 Thread darniz
Ok i downlaod the lucid imaginationversion of Solr. From the lib directory i copied the two jars lucid-kstem.jar and lucid-solr-kstem.jar and put in my local solr instance at C:\solr\apache-solr-1.3.0\lib When i declare a field type like this fieldtype name=lucidkstemmer

Re: KStem download

2009-09-14 Thread darniz
Ok i downlaod the lucid imaginationversion of Solr. From the lib directory i copied the two jars lucid-kstem.jar and lucid-solr-kstem.jar and put in my local solr instance at C:\solr\apache-solr-1.3.0\lib When i declare a field type like this fieldtype name=lucidkstemmer class=solr.TextField

Re: 50% discount on Taming Text , Lucene in Action, etc

2009-09-14 Thread Erik Hatcher
3rd edition?! *whew* - let's get the 2nd edition in print first ;) Erik On Sep 14, 2009, at 12:10 PM, Fuad Efendi wrote: http://www.manning.com/ingersoll/ And other books too, such as Lucene in Action 3rd edition... PDF only (MEAP) Today Only! Save 50% on any ebook! This offer

Re: Searching for the '+' character

2009-09-14 Thread Matt Weber
Why don't you create a synonym for + that expands to your customers product name that includes the plus? You can even have your FE do this sort of replacement BEFORE submitting to Solr. Thanks, Matt Weber On Sep 14, 2009, at 11:42 AM, AHMET ARSLAN wrote: Thanks Ahmet, Thats excellent,

RE: 50% discount on Taming Text , Lucene in Action, etc

2009-09-14 Thread Fuad Efendi
Yes, 2nd edition; but subscription-based Manning Early Access Program (MEAP) is available, $13.75 (today only...), plus Author Online: http://www.manning-sandbox.com/forum.jspa?forumID=451 http://www.manning.com/hatcher3/ -Original Message- From: Erik Hatcher

Load synonyms dynamically

2009-09-14 Thread Mohamed Parvez
Is there a way to load the synonyms dynamically. I mean if the synonym.txt file changes then during query time the newly added synonym should be active. Currently it required a reindex Thanks/Regards, Parvez

Solr 1.4 - autoSuggest - is it a default service

2009-09-14 Thread Yerraguntla
Hi, I am trying to use autoSuggest in Solr 1.4. Is autoSugest service available by default like select? or should I configure anything? Solrconfig.xml contains the termcomponent defined. Thanks R -- View this message in context:

Difficulty with Multi-Word Synonyms

2009-09-14 Thread Gregg Donovan
I'm running into an odd issue with multi-word synonyms in Solr (using the latest [9/14/09] nightly ). Things generally seem to work as expected, but I sometimes see words that are the leading term in a multi-word synonym being replaced with the token that follows them in the stream when they

multicore shards and relevancy score

2009-09-14 Thread Paul Rosen
Hi, I've done a few experiments with searching two cores with the same schema using the shard syntax. (using solr 1.3) My use case is that I want to have multiple cores because a few different people will be managing the indexing, and that will happen at different times. The data, however,

Re: 50% discount on Taming Text , Lucene in Action, etc

2009-09-14 Thread Lukáš Vlček
Hi, I can confirm it works! :-) Regards, Lukas On Mon, Sep 14, 2009 at 10:20 PM, Fuad Efendi f...@efendi.ca wrote: Yes, 2nd edition; but subscription-based Manning Early Access Program (MEAP) is available, $13.75 (today only...), plus Author Online:

Re: Solr 1.4 - autoSuggest - is it a default service

2009-09-14 Thread Mohamed Parvez
I guess you are looking for terms, Its in 1.4 just use a query like http://localhost:port /solr/terms/?terms=trueterms.fl=filed_nameterms.prefix=da Thanks/Regards, Parvez On Mon, Sep 14, 2009 at 3:35 PM, Yerraguntla raveend...@yahoo.com wrote: Hi, I am trying to use autoSuggest in

Re: Single Core or Multiple Core?

2009-09-14 Thread Uri Boness
IMO forcing the users to do configuration change in Solr or in their application is the same thing - it all boils down to configuration change (I'll be very surprised if someone is actually hardcoding the Solr URL in their system - most probably it is configurable, and if it's not, forcing

Is it possible to query for everything ?

2009-09-14 Thread Jonathan Vanasco
I'm using Solr for seach and faceted browsing Is it possible to have solr search for 'everything' , at least as far as q is concerned ? The request handlers I've found don't like it if I don't pass in a q parameter

Re: Is it possible to query for everything ?

2009-09-14 Thread Matt Weber
Query for *:* Thanks, Matt Weber On Sep 14, 2009, at 4:18 PM, Jonathan Vanasco wrote: I'm using Solr for seach and faceted browsing Is it possible to have solr search for 'everything' , at least as far as q is concerned ? The request handlers I've found don't like it if I don't pass in

Re: Is it possible to query for everything ?

2009-09-14 Thread Jay Hill
Use: ?q=*:* -Jay http://www.lucidimagination.com On Mon, Sep 14, 2009 at 4:18 PM, Jonathan Vanasco jvana...@2xlp.com wrote: I'm using Solr for seach and faceted browsing Is it possible to have solr search for 'everything' , at least as far as q is concerned ? The request handlers I've

Re: Is it possible to query for everything ?

2009-09-14 Thread Jonathan Vanasco
Thanks Jay Matt I tried *:* on my app, and it didn't work I tried it on the solr admin, and it did I checked the solr config file, and realized that it works on standard, but not on dismax, queries So i have my app checking *:* on a standard qt, and then filtering what I need on other

Re: Is it possible to query for everything ?

2009-09-14 Thread Jay Hill
With dismax you can use q.alt when the q param is missing: q.alt=*:* should work. -Jay On Mon, Sep 14, 2009 at 5:38 PM, Jonathan Vanasco jvana...@2xlp.com wrote: Thanks Jay Matt I tried *:* on my app, and it didn't work I tried it on the solr admin, and it did I checked the solr config

Re: KStem download

2009-09-14 Thread darniz
i was able to declare a field type when the i use the lucid distribution of solr fieldtype name=lucidkstemmer class=solr.TextField analyzer tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=com.lucidimagination.solrworks.analysis.LucidKStemFilterFactory

Re: KStem download

2009-09-14 Thread darniz
i was able to declare a field type when the i use the lucid distribution of solr fieldtype name=lucidkstemmer class=solr.TextField analyzer tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=com.lucidimagination.solrworks.analysis.LucidKStemFilterFactory

Re: KStem download

2009-09-14 Thread Jay Hill
The two jar files are all you should need, and the configuration is correct. However I noticed that you are on Solr 1.3. I haven't tested the Lucid KStemmer on a non-Lucid-certified distribution of 1.3. I have tested it on recent versions of 1.4 and it works fine (just tested with the most recent

Re: Is it possible to query for everything ?

2009-09-14 Thread Bill Au
For the standard query handler, try [* TO *]. Bill On Mon, Sep 14, 2009 at 8:46 PM, Jay Hill jayallenh...@gmail.com wrote: With dismax you can use q.alt when the q param is missing: q.alt=*:* should work. -Jay On Mon, Sep 14, 2009 at 5:38 PM, Jonathan Vanasco jvana...@2xlp.com wrote: