How to use spell checker

2009-03-02 Thread dabboo
Hi, I am trying to implement the spell check feature in solr with lucene. for e.g. if any record contains "elephants" and user enters "elepents", even then also, it should return the results with the correct spelling i.e. "elephants". Please suggest. Thanks, Amit Garg -- View this message in c

Re: Difference between q and q.alt parameter query

2009-03-02 Thread dabboo
Here is what I am getting with debugQuery=true - - 0 110 - 10 0 lucene on da* dismaxrequest true 2.2 - da* da* +DisjunctionMaxQuery((programJacketImage_program_s:da* | courseCodeSeq_course_s:da* | authorLastName_product_s:da* | Index_Type_s:da

solr and tomcat

2009-03-02 Thread Matt Mitchell
Hi. I'm sorry if this is the second time this message comes through! A few questions here... #1 Does anyone know how to set the user/group and/or permissions on the index that solr creates? It's always the tomcat user. Is it possible to change this in my context file? Help! #2 I'm deploying Solr

Re: Trunk Replication Page Issue

2009-03-02 Thread Jeff Newburn
I have tracked down the error to the specific date and file. On 2009-02-13 changes were apparently made to fix the replication page for replication off of a master and slave server. This causes the jasper error in the replication/index.jsp file. I am not sure why it does as most of the file was r

Re: Combine facet.date and facet.field

2009-03-02 Thread Erik Hatcher
On Mar 2, 2009, at 10:01 AM, gistol...@gmx.de wrote: I'm using the facet.date function to get all matching docs per day: q = foo &rows = 0 &facet = true &facet .date = date &facet .date .start = 2009 -01-31T00:00:00Z&facet.date.end=2009-03-01T23:59:59Z&facet.date.gap= +1DAY&fq=+size:big 2009

Re: Filter query for number of matches

2009-03-02 Thread Erick Erickson
Do you have special restrictions on your documents that make this reasonable? In the absurd case of having one word in the field and that word matches (i.e. 100% of the words in the field *are* the search term), would you really *not* want that document returned? I guess I'm asking what you're rea

Filter query for number of matches

2009-03-02 Thread Mark Ferguson
Hi, I am wondering if there is a way to set a filter on the frequency of a keyword match in a document. For example, if I search for the word "cheerio" I would like that word to appear at least x times in a field in order for the document to be returned. I know that Lucene internals already give h

Re: Trunk Replication Page Issue

2009-03-02 Thread Jeff Newburn
I did an ant clean and then dist and it is still showing. I attached the servlet class and java files. The svn up says: At revision 749397. -- Jeff Newburn Software Engineer, Zappos.com jnewb...@zappos.com - 702-943-7562 > From: Akshay > Reply-To: > Date: Mon, 2 Mar 2009 11:22:13 +0530 > To

Re: Equivalent of TermVector.YES in solr - schema

2009-03-02 Thread Grant Ingersoll
And, for Term Vectors, add termVectors="true" to the field declaration, as in (from solr/example/solr/conf/schema.xml): multiValued="true" omitNorms="true" termVectors="true" /> And, if you want positions and offsets: multiValued="true" termVectors="true" termPositions="true" termOffsets

Re: Equivalent of TermVector.YES in solr - schema

2009-03-02 Thread Erik Hatcher
On Mar 2, 2009, at 11:31 AM, Rakesh Sinha wrote: I created a new field type as - My understanding is that - the default type - string does not seem to be tokenized ( since 2.9 - it is analyzed ). How do I make the field to be TOKENIZED ( since Lucene 2.9, it is ANALYZED ) with TermV

Equivalent of TermVector.YES in solr - schema

2009-03-02 Thread Rakesh Sinha
I am in the process of porting a Lucene code to Solr. I checked the wiki at - http://wiki.apache.org/solr/SchemaXml for the common porting instructions. But I have a specific query with respect the following line of code, about creating a field / fieldType in Solr Lucene: return new Field(St

Re: javax.xml.stream.XMLStreamException while posting

2009-03-02 Thread Walter Underwood
Also, open your document in a browser to make sure that it really is well-formed. Most browsers will pinpoint the syntax error. --wunder On 3/2/09 6:46 AM, "Noble Paul നോബിള്‍ नोब्ळ्" wrote: > the parser you are using is not the standard woodstox one. > try this http://docs.sun.com/app/docs/doc

Re: Difference between q and q.alt parameter query

2009-03-02 Thread Erik Hatcher
On Mar 2, 2009, at 10:15 AM, dabboo wrote: Thanks for the information. I gave it in my url as the request parameter like http://localhost:8080/apache-solr-1.3.0/CORE_WWW.BLUEHEN.COM/select/?q=da*&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequest&defType=lucene But still results are the

Re: Difference between q and q.alt parameter query

2009-03-02 Thread dabboo
Thanks for the information. I gave it in my url as the request parameter like http://localhost:8080/apache-solr-1.3.0/CORE_WWW.BLUEHEN.COM/select/?q=da*&version=2.2&start=0&rows=10&indent=on&qt=dismaxrequest&defType=lucene But still results are the same. It is not displaying any records. Please

Re: Difference between q and q.alt parameter query

2009-03-02 Thread Shalin Shekhar Mangar
On Mon, Mar 2, 2009 at 8:19 PM, dabboo wrote: > > Thanks for the information. Where do we defined the deftype parameter. > > Add it as a request parameter. -- Regards, Shalin Shekhar Mangar.

Combine facet.date and facet.field

2009-03-02 Thread gistolero
Hello, I'm using the facet.date function to get all matching docs per day: q=foo&rows=0&facet=true&facet.date=date&facet.date.start=2009-01-31T00:00:00Z&facet.date.end=2009-03-01T23:59:59Z&facet.date.gap=+1DAY&fq=+size:big 2009-01-31T00:00:00Z -> 13 hits 2009-02-01T00:00:00Z -> 10 hits ... As y

Re: Integrating Solr and Nutch

2009-03-02 Thread ahammad
Thanks for your reply Andrzej. I am very interested in learning more about this and I cannot wait to check it out. Nutch is extremely good on its own, but I want to know what else can be done with the Nutch/Solr combo. Cheers Andrzej Bialecki wrote: > > Tony Wang wrote: >> I heard Nutch 1.0 wi

Re: Difference between q and q.alt parameter query

2009-03-02 Thread dabboo
Thanks for the information. Where do we defined the deftype parameter. dabboo wrote: > > Hi, > > Can somebody please tell me as what is the actual difference between q.alt > & q parameter queries. > > I am trying to do the wildcard search with q query parameter, which is > supported by q.al

Re: javax.xml.stream.XMLStreamException while posting

2009-03-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
the parser you are using is not the standard woodstox one. try this http://docs.sun.com/app/docs/doc/819-3672/gfkoy?a=view On Mon, Mar 2, 2009 at 6:24 PM, Pooja Verlani wrote: > Hi, > When I posting a valid xml document to solr, its giving the following error: > > {http--10003-7} javax.xml.stream

Re: Difference between q and q.alt parameter query

2009-03-02 Thread Erik Hatcher
On Mar 2, 2009, at 6:34 AM, dabboo wrote: Can somebody please tell me as what is the actual difference between q.alt & q parameter queries. The query parser used is the difference you're hitting. q is parsed by the setting of defType, whereas q.alt is parsed by default using the "lucene

Compound word search (maybe DisMaxQueryPaser problem)

2009-03-02 Thread Tobias Dittrich
Hi all, I know there are a lot of topics about compound word search already but I haven't found anything for my specific problem yet. So if this is already answered (which would be nice :)) then any hints or search phrases for the mail archive would be apreciated. Bascially I want users to

javax.xml.stream.XMLStreamException while posting

2009-03-02 Thread Pooja Verlani
Hi, When I posting a valid xml document to solr, its giving the following error: {http--10003-7} javax.xml.stream.XMLStreamException: :2:20 expected '-' at '[' {http--10003-7} at com.caucho.xml.stream.XMLStreamReaderImpl.error(XMLStreamReaderImpl.java:1268) {http--10003-7} at com.c

Difference between q and q.alt parameter query

2009-03-02 Thread dabboo
Hi, Can somebody please tell me as what is the actual difference between q.alt & q parameter queries. I am trying to do the wildcard search with q query parameter, which is supported by q.alt parameter. Please let me know how it is treating the query with wildcard in case of q.alt parameter.

Re: Multiple HttpDataSource

2009-03-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, Mar 2, 2009 at 2:59 PM, Antonio Eggberg wrote: > > > > > --- Den mån 2009-03-02 skrev Noble Paul നോബിള്‍  नोब्ळ् > : > >> Från: Noble Paul നോബിള്‍  नोब्ळ् >> Ämne: Re: Multiple HttpDataSource >> Till: solr-user@lucene.apache.org, antonio_eggb...@yahoo.se >> Datum: måndag 2 mars 2009 09.3

Re: Multiple HttpDataSource

2009-03-02 Thread Antonio Eggberg
--- Den mån 2009-03-02 skrev Noble Paul നോബിള്‍ नोब्ळ् : > Från: Noble Paul നോബിള്‍ नोब्ळ् > Ämne: Re: Multiple HttpDataSource > Till: solr-user@lucene.apache.org, antonio_eggb...@yahoo.se > Datum: måndag 2 mars 2009 09.39 > you do not need to setup multiple entries > unless you wish > to

Re: Is it possible to modiying the indexed values?

2009-03-02 Thread Otis Gospodnetic
Hi, Currently, you still need to reindex the whole document, unfortunately. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: RaghavPrabhu > To: solr-user@lucene.apache.org > Sent: Monday, March 2, 2009 2:08:52 AM > Subject: Is it possibl

Re: Multiple HttpDataSource

2009-03-02 Thread Noble Paul നോബിള്‍ नोब्ळ्
you do not need to setup multiple entries unless you wish to have separate configuration params for each (say readTimeOut , connTimeOut etc). Each entity will get a unique instance of the DataSource instance. On Mon, Mar 2, 2009 at 2:01 PM, Antonio Eggberg wrote: > > Hello all, > > It was not ve

Multiple HttpDataSource

2009-03-02 Thread Antonio Eggberg
Hello all, It was not very clear to me If I can have more then 1 HTTPDataSource in the config file also this means I will have more then 1 correct? I am trying to index multiple RSS feeds also are there any limits? Also is it possible to mix and match i.e. my internat databas