Re: DataImportHandler current_index_time & post-completion actio

2008-07-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
comments inline On Thu, Jul 17, 2008 at 5:00 AM, wojtekpia <[EMAIL PROTECTED]> wrote: > > I have two questions: > > 1. I am pulling data from 2 data sources using the DIH. I am using the > deltaQuery functionality. Since the data sources pull data sequentially, I > find that some data is getting u

Re: Using custom Similarity class

2008-07-16 Thread Erik Hatcher
What version of Solr are you using? Seems to be not quite trunk at least, as IndexSchema.java:449 isn't the the similarity stuff currently). Does your CustomSimilarity have a no-arg constructor? Erik On Jul 16, 2008, at 9:19 PM, Sébastien Rainville wrote: Hi, I'm trying to ma

Expansion stemming

2008-07-16 Thread Jonathan Ariel
hi, I was looking into the solr wiki and saw this: "Expansion stemming — Takes a root word and 'expands' it to all of its various forms — can be used either at insertion time or at query time." How do I specify that I want the expansion stemming instead of the porter stemming? Thanks!

Using custom Similarity class

2008-07-16 Thread Sébastien Rainville
Hi, I'm trying to make solr use my custom similarity class: import org.apache.lucene.search.DefaultSimilarity; public class CustomSimilarity extends DefaultSimilarity { } but I keep getting this error: com.example.CustomSimilarity cannot be cast to org.apache.lucene.search.Similarity at or

Re: Multiple query fields in DisMax handler

2008-07-16 Thread Erik Hatcher
On Jul 16, 2008, at 7:38 PM, Ryan McKinley wrote: (assuming you are using 1.3-dev), you could use the dismax query parser syntax for the fq param. I think it is something like: fq=your query The latest committed syntax is: {!dismax qf=""}your query For example, with the sample data:

Re: Multiple query fields in DisMax handler

2008-07-16 Thread Ryan McKinley
(assuming you are using 1.3-dev), you could use the dismax query parser syntax for the fq param. I think it is something like: fq=your query I can't find the syntax now (Yonik?) but I don't know how you could pull out the qf,pf,etc fields for the fq portion vs the q portion. On Jul 16,

DataImportHandler current_index_time & post-completion action

2008-07-16 Thread wojtekpia
I have two questions: 1. I am pulling data from 2 data sources using the DIH. I am using the deltaQuery functionality. Since the data sources pull data sequentially, I find that some data is getting unnecessarily re-indexed from my second data source. Hopefully this helps illustrate my probem: A

Re: Multiple query fields in DisMax handler

2008-07-16 Thread Erik Hatcher
There are also likely some way wacky things you could do with mixing and matching query parsers even within a "q". FunctionQParser and friends probably hold some crazy voodoo. Erik On Jul 16, 2008, at 1:29 PM, Shalin Shekhar Mangar wrote: Is it possible to use fq parameters for f

Re: Multiple query fields in DisMax handler

2008-07-16 Thread Shalin Shekhar Mangar
Is it possible to use fq parameters for filtering on the address fields? Then the q and other dismax params can be used for your main query. On Wed, Jul 16, 2008 at 8:59 PM, chris sleeman <[EMAIL PROTECTED]> wrote: > Hi all, > > Is there currently a way of specifying more than 1 user query fields

Re: Big slowdown with phrase queries

2008-07-16 Thread Chris Harris
For the future reference of anyone looking for help on this topic, this thread http://www.nabble.com/Phrase-Query-Performance-Question-td13422183.html discusses a phrase performance problem raised by Haishan Chen in October 2007. If you find this thread helpful you should probably consult that

Multiple query fields in DisMax handler

2008-07-16 Thread chris sleeman
Hi all, Is there currently a way of specifying more than 1 user query fields (q parameter) with the disMax request handler ? Basically my requirement is this - I have 2 user query fields - 'query' and 'location', each of which corresponds to multiple solr query fields. The 'location' entered by us

Re: spellchecking multiple fields?

2008-07-16 Thread Ryan McKinley
and the caveat that all fields would need to be declared in the solrconfig.xml (or get used for both fields) this could work... would also need to augment the response with the name of the dictionary, or assert that something will be written all the time (so you could know the 2nd would b

Re: spellchecking multiple fields?

2008-07-16 Thread Grant Ingersoll
Another thought that might work: Declare two separate components, one for each field and then implement a QueryConverter that takes in the field and only extracts the tokens for the field or choice. This is a definite workaround, but I think it might work. Hmm, except we only have one Qu

RE: 2 IDs in schema.xml

2008-07-16 Thread dudes dudes
thanks, I will have a try and for any technical issues I will bother you guys again :) ak > From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.org > Subject: Re: 2 IDs in schema.xml > Date: Wed, 16 Jul 2008 04:50:18 -0400 > > > On Jul 16, 2008, at 3:

Re: WordDelimiterFilter splits at non-ASCII chars

2008-07-16 Thread Erik Hatcher
On Jul 16, 2008, at 4:33 AM, Stefan Oestreicher wrote: Yes you're right. I was testing with analysis.jsp but it chokes on multibyte chars. I modified the jsp and set the encoding using request.setCharacterEncoding("UTF-8"); and it's working fine. Bug in analysis.jsp? Yeah, it's recently been

Re: 2 IDs in schema.xml

2008-07-16 Thread Erik Hatcher
On Jul 16, 2008, at 3:29 AM, dudes dudes wrote: and also I suppose it is not possible to have 2 schemas on one solr ? You can have multiple cores per Solr webapp (see MultiCore in the wiki). But each core has a single schema. Erik

RE: WordDelimiterFilter splits at non-ASCII chars

2008-07-16 Thread Stefan Oestreicher
Yes you're right. I was testing with analysis.jsp but it chokes on multibyte chars. I modified the jsp and set the encoding using request.setCharacterEncoding("UTF-8"); and it's working fine. Bug in analysis.jsp? thanks, Stefan Oestreicher > -Original Message- > From: [EMAIL PROTECTED]

Re: Extending Solr with custom filter

2008-07-16 Thread Jarek Zgoda
Rafał Kuć pisze: > I usually put my own jar files in Solr webapp in lib directory. It > would be something like that: SOLR_HOME/webapps/solr/WEB-INF/lib. > >> I wrote a filter factory class for Solr, that performs Polish stemming >> using Stempel (http://www.getopt.org/stempel/). Where should I

Re: Extending Solr with custom filter

2008-07-16 Thread Rafał Kuć
Hello, I usually put my own jar files in Solr webapp in lib directory. It would be something like that: SOLR_HOME/webapps/solr/WEB-INF/lib. > I wrote a filter factory class for Solr, that performs Polish stemming > using Stempel (http://www.getopt.org/stempel/). Where should I put my > jar (and

Extending Solr with custom filter

2008-07-16 Thread Jarek Zgoda
I wrote a filter factory class for Solr, that performs Polish stemming using Stempel (http://www.getopt.org/stempel/). Where should I put my jar (and accompanying stempel.jar) for Solr to be able to find it and use? -- We read Knuth so you don't have to. -- Tim Peters Jarek Zgoda re:define

RE: 2 IDs in schema.xml

2008-07-16 Thread dudes dudes
oh right so the uniquekey is used by Solr to do internal house keeping ? and also I suppose it is not possible to have 2 schemas on one solr ? thnx ak > Date: Wed, 16 Jul 2008 03:07:41 +0530 > From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.