Re: Documentation?

2008-12-16 Thread psyron
I read a bit Lucene in action with a lot of nice example and was very optimistic to use solr, but i was really disappointed when I was looking for documentation for solr - even the javadoc is very poor, no explanation of the framework, about why there are so many different classes with similar

Re: Custom Sorting

2008-12-16 Thread psyron
I have the same problem, also need to plugin my customComparator, but as there is no explanation of the framework, how a RequestHandler is working, what comes in, what comes out ... just impossible! Can someone explain where i have to add which code, to just have the same functionality as the

Re: Documentation?

2008-12-16 Thread Shalin Shekhar Mangar
Markus, as we are all volunteers here, nobody is paid to write code and documentation. Everybody scratches their own itch. Complaining won't do a lot of good here. Most of Solr is not meant to be consumed as an API and therefore there is a general lack of javadocs. Solr is generally used through

Re: Custom Sorting

2008-12-16 Thread Erik Hatcher
Markus, A couple of code pointers for you: * QueryComponent - this is where results are generated, it uses a SortSpec from the QParser. * QParser#getSort - creating a custom QParser you'll be able to wire in your own custom sort You can write your own QParserPlugin and QParser, and

Flipping data dirs for an (/multiple) SolrCore without affecting search / IndexReaders

2008-12-16 Thread Kay Kay
We have an architecture where we want to flip the solr data.dir (massive dataset) while running and serving search requests with minimal downtime. Some additional requirements. * While ideally - we want the Solr Search clients to continue to serve from the indices as soon as possible -the

Re: Some solrconfig.xml attributes being ignored

2008-12-16 Thread Mark Ferguson
Hi Erik, Thanks a lot for looking into this, it's greatly appreciated. Mark On Tue, Dec 16, 2008 at 2:51 AM, Erik Hatcher e...@ehatchersolutions.comwrote: Mark, Looked at the code to discern this... A fragmenter isn't responsible for the number of snippets - the higher level

sorting question

2008-12-16 Thread Marc Sturlese
Hey there, I am using sort at searching time. I would like to know the advantages of using sint field type instead of integer field type. Can't find it anywhere I am sorting asc by price. The problem is that not all docs have the field price and the ones that haven't it apear as first results.

Re: ExtractingRequestHandler and XmlUpdateHandler

2008-12-16 Thread Jacob Singh
No, I didn't mean storing the binary along with, just that I could send a binary file (or a text file) which tika could process and store along with the XML which describes its literal meta-data. Best, Jacob On Mon, Dec 15, 2008 at 7:17 PM, Grant Ingersoll gsing...@apache.org wrote: On Dec 15,

Re: sorting question

2008-12-16 Thread Ryan McKinley
sint sorts in numeric order, int does not. check the sortMissingLast params in the example config On Dec 16, 2008, at 12:24 PM, Marc Sturlese wrote: Hey there, I am using sort at searching time. I would like to know the advantages of using sint field type instead of integer field type.

Re: sorting question

2008-12-16 Thread Alexander Ramos Jardim
Another possibility is to put a price:[1 TO *] at your query. 2008/12/16 Ryan McKinley ryan...@gmail.com sint sorts in numeric order, int does not. check the sortMissingLast params in the example config On Dec 16, 2008, at 12:24 PM, Marc Sturlese wrote: Hey there, I am using sort at

Solrj client - CommonsHttpSolrServer - getting solr.solr.home

2008-12-16 Thread Kay Kay
I am reading the wiki here at - http://wiki.apache.org/solr/Solrj . Is there a requestHandler ( may be - some admin handler ) already present that can retrieve the solr.solr.home for a given CommonsHttpSolrServer instance ( for a given solr endpoint), through an api.

Re: Some solrconfig.xml attributes being ignored

2008-12-16 Thread Erik Hatcher
Mark, Looked at the code to discern this... A fragmenter isn't responsible for the number of snippets - the higher level SolrHighlighter is the component that uses that parameter. So yes, it must be specified at the request handler level, not the fragmenter configuration. Erik

RE: php client. json communication

2008-12-16 Thread Plaatje, Patrick
Or have a look at the Wiki, probably a better way to start: http://wiki.apache.org/solr/SolPHP Best, Patrick -- Just trying to help http://www.ipros.nl/ -- -Original

Re: Solrj client - CommonsHttpSolrServer - getting solr.solr.home

2008-12-16 Thread Ryan McKinley
perhaps CoreAdminRequest... it does not give you the property, but you can see where things are... http://wiki.apache.org/solr/CoreAdmin On Dec 16, 2008, at 12:53 PM, Kay Kay wrote: I am reading the wiki here at - http://wiki.apache.org/solr/Solrj . Is there a requestHandler ( may be -

Re: php client. json communication

2008-12-16 Thread KishoreVeleti CoreObjects
Check out this link http://www.ibm.com/developerworks/library/os-php-apachesolr/index.html If anyone of you used it can you share your experiences. Thanks, Kishore Veleti A.V.K. Julian Davchev wrote: Hi, I am about to integrate solr for index/search of my documents/data. It's php

Re: Unwanted clustering of search results after sorting by score

2008-12-16 Thread Chris Hostetter
: Max - field collapsing may be your friend - https://issues.apache.org/jira/browse/SOLR-236 that doesn't really seem related ... i don't believe Max wants to see all results from a store collapsed into on result, i think he wants to see results from differnet stores treated more fairly and to

php client. json communication

2008-12-16 Thread Julian Davchev
Hi, I am about to integrate solr for index/search of my documents/data. It's php application but I see it should be no problem as solr works with xml by default. Is there any read php lib that will ease/help whole communication with solr and if possible to send/receive json data. I looked up

Re: Please help me articulate this query

2008-12-16 Thread Derek Springer
Excellent, thank you! :) -Derek On Mon, Dec 15, 2008 at 8:45 PM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Derek, q=+referring:XXX +question:YYY (of course, you'll have to URL-encode that query string0 Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

Re: Boosting by date when only some records have one

2008-12-16 Thread Chris Hostetter
: if(document.hasDateField == 1){ : boost = somefunction(document.dateField); : } else{ : boost = 1; : } bq = ( ( +hasDateField:true _val_:somefunc(dateField) ) ( -hasDateField:true *:*^1 ) ) That covers the possiblility that hasDateField is not set for some docs. The

Using DIH, getting exception

2008-12-16 Thread Plaatje, Patrick
Hi All, I'm trying to use the Data import handler, with the data config below (snippet): dataSource type=JdbcDataSource name=mySource driver=com.mysql.jdbc.Driver url=jdbc:mysql://myhost/myDB user=username password=password/ document name=post The variables are all good (userrname+password,

checkout 1.4 snapshot

2008-12-16 Thread roberto
Hello, Someone could tell me how can i checkout the 1.4 snapshot ? thanks, -- Without love, we are birds with broken wings. Morrie

RE: checkout 1.4 snapshot

2008-12-16 Thread Plaatje, Patrick
Hi, You can find the SVN repository here: http://www.apache.org/dev/version-control.html#anon-svn I'm not sure if this represent the 1.4 version, but as being the trunk it's the latest version. Best, Patrick -Original Message- From: roberto [mailto:miles.c...@gmail.com] Sent:

RE: checkout 1.4 snapshot

2008-12-16 Thread Plaatje, Patrick
Sorry all, Wrong url in the post, right url should be: http://svn.apache.org/repos/asf/lucene/solr/ Best, Patrick -Original Message- From: Plaatje, Patrick [mailto:patrick.plaa...@getronics.com] Sent: dinsdag 16 december 2008 22:19 To: solr-user@lucene.apache.org Subject: RE:

Re: checkout 1.4 snapshot

2008-12-16 Thread roberto
I'll try to get the source from this link, thanks On Tue, Dec 16, 2008 at 7:23 PM, Plaatje, Patrick patrick.plaa...@getronics.com wrote: Sorry all, Wrong url in the post, right url should be: http://svn.apache.org/repos/asf/lucene/solr/ Best, Patrick -Original Message-

Re: php client. json communication

2008-12-16 Thread Julian Davchev
Hi, 1. Thanks for links, I looked at both. Still I think that solr or at least those php clients doesn't support jason as input. It's clear that it's possible to get json response.but search is only possible via xml queries. Plaatje, Patrick wrote: Or have a look at the Wiki, probably a

RE: php client. json communication

2008-12-16 Thread Plaatje, Patrick
Glad that's sorted. On the other issue (directly accessing solr from any client) I think I saw a discussion on the list earlier, but I don't know what the result was, browse through the archives and look for something about security (I think). Best, patrick -Original Message- From:

RE: php client. json communication

2008-12-16 Thread Plaatje, Patrick
Hi Julian, I'm a bit confused. The indexing is indeed being done through XML, but in searching it is possible to get JSON results by using the wt=json parameter, have a look here: http://wiki.apache.org/solr/SolJSON Best, Patrick -Original Message- From: Julian Davchev

umlaut index ö == o == oe Possible?

2008-12-16 Thread Julian Davchev
Hi, I am just going through http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters and maillist archive but somehow can't find the solution. Is it possible that I treat 'möchten' , 'mochten' and 'moechten' the same way. Of course not hardcoding this but rather work for any umlaut. Cheers

Re: umlaut index ö == o == oe Poss ible?

2008-12-16 Thread Stephen Weiss
I believe the german porter stemmer should handle this. I haven't used it with SOLR but I've used it with other projects, and basically, when the word is parsed, the umlauts and also accented vowels are converted to plain vowels. I guess with SOLR you use

Auto Suggest

2008-12-16 Thread roberto
Hello, I'm looking to implement one auto suggest search feature, i found a fews posts with some information about the EdgeNGramFilterFactory but i couldn't understand very well how to implement, someone can send me kindly the way? thanks, -- Without love, we are birds with broken wings.

Re: Using DIH, getting exception

2008-12-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
you either remove the name=mySource from the dataSource tag or add dataSource=mySource in the entity 'item' On Wed, Dec 17, 2008 at 2:26 AM, Plaatje, Patrick patrick.plaa...@getronics.com wrote: Hi All, I'm trying to use the Data import handler, with the data config below (snippet):

RE: minimum match issue with dismax

2008-12-16 Thread Chris Hostetter
: str name=mm2lt;-25%/str : /lst : /requestHandler : : correct me if i am wrong isn't the above mm config means if its 1 or 2 : terms then match all but if its more than 2 terms then 25% can be : missing. i get below as parsed query This is exactly what you asked in another thread,

Re: ExtractingRequestHandler and XmlUpdateHandler

2008-12-16 Thread Chris Hostetter
: : If I can find the bandwidth, I'd like to make something which allows : : file uploads via the XMLUpdateHandler as well... Do you have any ideas : : the XmlUpdateRequestHandler already supports file uploads ... all request : But it doesn't do what Jacob is asking for... he wants (if I'm

Re: Boosting by date when only some records have one

2008-12-16 Thread Robert Krüger
Hi, thanks a lot! Looks like what I need except that I cannot use dismax because I need to be able to do prefix queries. I'm new to Solr, so I don't know if there's a way to formulate this in a standard query. If not, I could extend DismaxRequestHandler so it doesn't escape the *s, right?

Re: Boosting by date when only some records have one

2008-12-16 Thread Chris Hostetter
: thanks a lot! Looks like what I need except that I cannot use dismax : because I need to be able to do prefix queries. I'm new to Solr, so I there's nothing dismax related in that syntax, i just suggested using it in a bq param becuase i assumed that's what you were using. q = +pre:fix*

Is making removal of wildcards configurable planned for DisMaxRequestHandler

2008-12-16 Thread Robert Krüger
Hi, I'm rather new to Solr and for my current projects came to the conclusion that DisMaxRequestHandler is exactly the tool I need, except that it doesn't allow prefix queries. I found a thread in the archive were someone mentioned the idea of making this behaviour configurable (which

Re: RequestHandler lifecycle in a Multiple SolrCore context

2008-12-16 Thread Shalin Shekhar Mangar
On Wed, Dec 17, 2008 at 3:11 AM, Kay Kay kaykay.uni...@gmail.com wrote: If I have a CustomRequestHandler that inherits from RequestHandlerBase implementing SolrCoreAware interface - what is the lifecycle of the invocation of method - inform(SolrCore) in a multiple SolrCore context . Would it

Re: Boosting by date when only some records have one

2008-12-16 Thread Robert Krüger
Chris Hostetter wrote: : thanks a lot! Looks like what I need except that I cannot use dismax : because I need to be able to do prefix queries. I'm new to Solr, so I there's nothing dismax related in that syntax, i just suggested using it in a bq param becuase i assumed that's what you were