Re: hello, a question about solr.

2008-08-17 Thread Shalin Shekhar Mangar
Hi, What is the type of the field "name"? Does a query like "name:ibm OR name:T63 OR name:notebook" work for you? On Mon, Aug 18, 2008 at 10:43 AM, finy finy <[EMAIL PROTECTED]> wrote: > i use solr for 3 months, and i find some question follow: > > i check the solr source code, and find it uses

Re: Can facet numbers be constrained to one result doc or a group of result docs?

2008-08-17 Thread Shalin Shekhar Mangar
The computed frequency will be for the current set of results (the result of q and fq parameters). Setting facet.mincount=1 will give you only those terms which are present (frequency >= 1) in your results. On Mon, Aug 18, 2008 at 10:58 AM, Gene Campbell <[EMAIL PROTECTED]> wrote: > OK, more test

Re: Can facet numbers be constrained to one result doc or a group of result docs?

2008-08-17 Thread Gene Campbell
OK, more testing seems to say that if i do mincount=1, I only get facet field values that are actually in the documents 'facet_fields':{ 'title':[ 'build',1, 'central',1, : : for http://localhost:8085/solr/select?q=example.com&wt=python&indent=on&facet=true&facet.field=

hello, a question about solr.

2008-08-17 Thread finy finy
i use solr for 3 months, and i find some question follow: i check the solr source code, and find it uses lucene's QueryParser to parse user's input querystring for example, a query like this "name:ibmT63notebook" ,solr will parse it like 'name:"ibm T63 notebook"' , it regard this as a PhrazeQuery

Can facet numbers be constrained to one result doc or a group of result docs?

2008-08-17 Thread Gene Campbell
I'm still learning how to use facets with Solr correctly. It seems that you get facet counts computed over all docs in your index. For example, I tried this on a local index I've built up for testing. This index has urls uniquely indexed, so no two docs have the same url value. http://localhost:8

Re: DIH - commit / optimize

2008-08-17 Thread Norberto Meijome
On Mon, 18 Aug 2008 09:34:56 +0530 "Shalin Shekhar Mangar" <[EMAIL PROTECTED]> wrote: > Actually we have commit and optimize as separate request parameters > defaulting to true for both full-import and delta-import. You can add a > request parameter optimize=false for delta-import if you want to c

Re: DIH - commit / optimize

2008-08-17 Thread Noble Paul നോബിള്‍ नोब्ळ्
Please post the question as a separate mail with a new subject. On Mon, Aug 18, 2008 at 9:58 AM, finy finy <[EMAIL PROTECTED]> wrote: > i'sorry, i am not familiar with the maillist operation. > my question is: > > i check the solr source code, and find it uses lucene's QueryParser to parse > use

Re: DIH - commit / optimize

2008-08-17 Thread finy finy
i'sorry, i am not familiar with the maillist operation. my question is: i check the solr source code, and find it uses lucene's QueryParser to parse user's input querystring for example, a query like this "name:ibmT63notebook" ,solr will parse it like 'name:"ibm T63 notebook"' , it regard this a

Re: DIH - commit / optimize

2008-08-17 Thread Shalin Shekhar Mangar
Actually we have commit and optimize as separate request parameters defaulting to true for both full-import and delta-import. You can add a request parameter optimize=false for delta-import if you want to commit but not to optimize the index. I've updated the wiki. Thanks for pointing it out. On

Re: DIH - commit / optimize

2008-08-17 Thread Norberto Meijome
On Mon, 18 Aug 2008 10:14:32 +0800 "finy finy" <[EMAIL PROTECTED]> wrote: > i use solr for 3 months, and i find some question follow: Please do not hijack mail threads. http://en.wikipedia.org/wiki/Thread_hijacking _ {Beto|Norberto|Numard} Meijome "Ask not what's inside

Re: DIH - commit / optimize

2008-08-17 Thread finy finy
i use solr for 3 months, and i find some question follow: i check the solr source code, and find it uses lucene's QueryParser to parse user's input querystring for example, a query like this "name:ibmT63notebook" ,solr will parse it like 'name:"ibm T63 notebook"' , it regard this as a PhrazeQuery

DIH - commit / optimize

2008-08-17 Thread Norberto Meijome
Hi again, I see in the DIH wiki page : [...] full-import [..] commit: (default 'true'). Tells whether to commit+optimize after the operation [...] but nothing for delta-import... I think it would be useful , a 'commit' (default=true) , 'optimize' (default=false) for the delta-import - these sh

Re: DIH - calling spellchecker rebuild...

2008-08-17 Thread Norberto Meijome
On Sun, 17 Aug 2008 20:22:26 +0530 "Shalin Shekhar Mangar" <[EMAIL PROTECTED]> wrote: > If it is only SpellCheckComponent that you are interested in, then see > SOLR-622. > > You can add this to your SCC config to rebuild SCC after every commit: > true ah great stuff , thanks Shalin. B

Re: Solr Logo thought

2008-08-17 Thread Mark Miller
I like it quite a bit actually. I don't have anything construtive though, it looks great already. Nice blend of simplicity and flash. Could certainly take my vote. - Mark On Aug 17, 2008, at 7:02 PM, "Luká? Vl?ek" <[EMAIL PROTECTED]> wrote: Hi, My initial draft of Solr logo can be fou

Re: Solr Logo thought

2008-08-17 Thread Lukáš Vlček
Hi, My initial draft of Solr logo can be found here: http://picasaweb.google.com/lukas.vlcek/Solr The reason why I haven't attached it to SOLR-84 for now is that this is just draft and not final design (there are a lot of unfinished details). I would like to get some feedback before I spend more t

Re: Localisation, faceting

2008-08-17 Thread Pierre Auslaender
Thanks a lot for the reply. I thought, might be a good idea to sort of override operator names, same like stop words, stems, etc. I guess I'd need to parse the query string? As for keeping state between requests, there's always going to be some state going in order to have a drill-down sessio

Order of returned fields

2008-08-17 Thread Pierre Auslaender
Hello, After a Solr query, I always get the fields back in alphabetical order, no matter how I insert them. Is this the normal behaviour? This is when adding the document... ch.tsr.esg.domain.ProgramCollection[id: 1] collection Bac à sable name="collection.url">

Re: Help with word frequency / tag clouds

2008-08-17 Thread Gene Campbell
OK Thanks. I will have another look at faceting again. gene On Mon, Aug 18, 2008 at 3:48 AM, Shalin Shekhar Mangar <[EMAIL PROTECTED]> wrote: > Hi Gene, > > Solr supports this (faceted search) out-of-the-box. > > Take a look at: > http://wiki.apache.org/solr/SimpleFacetParameters > http://wik

Re: Spellcheker and Dismax both

2008-08-17 Thread anshuljohri
And also is there any way to read spellings from a file spellings.txt by using SpellCheckerRequestHandler. Please suggest. Thanks, Anshul anshuljohri wrote: > > Ok Thats fine. > Also i can switch to solr 1.3 but i think stable version solr 1.3 is not > publicly launched yet. > Isn't it? > >

Re: Spellcheker and Dismax both

2008-08-17 Thread anshuljohri
Ok Thats fine. Also i can switch to solr 1.3 but i think stable version solr 1.3 is not publicly launched yet. Isn't it? Shalin Shekhar Mangar wrote: > > Then you are stuck with SpellCheckerRequestHandler. > > You can always issue two requests -- one to dismax and another to spell > checker.

Re: Spellcheker and Dismax both

2008-08-17 Thread Shalin Shekhar Mangar
Then you are stuck with SpellCheckerRequestHandler. You can always issue two requests -- one to dismax and another to spell checker. On Sun, Aug 17, 2008 at 11:32 PM, anshuljohri <[EMAIL PROTECTED]> wrote: > > But I am using solr 1.2 which doesn't have all the required classes for > SpellCheckCo

Re: Spellcheker and Dismax both

2008-08-17 Thread anshuljohri
But I am using solr 1.2 which doesn't have all the required classes for SpellCheckComponent. Is there any way to use this component in solr 1.2? Please help me out its very urgent. Thanks, Anshul Shalin Shekhar Mangar wrote: > > The SpellCheckerRequestHandler is now deprecated with Solr 1.3 an

Re: Localisation, faceting

2008-08-17 Thread Shalin Shekhar Mangar
On Sat, Aug 16, 2008 at 10:20 PM, Pierre Auslaender <[EMAIL PROTECTED]>wrote: > 1/ Is it possible to localise query operator names without writing code? > For instance, I'd like to issue queries with French operator names, e.g. ET > (instead of AND), OU (instead of OR), etc. No, your application

Re: Help with word frequency / tag clouds

2008-08-17 Thread Shalin Shekhar Mangar
Hi Gene, Solr supports this (faceted search) out-of-the-box. Take a look at: http://wiki.apache.org/solr/SimpleFacetParameters http://wiki.apache.org/solr/SolrFacetingOverview It will give you words with their frequencies for the fields you select. However, it will give you all the facets (tags)

Re: DataImportHandler : more forgiving initialisation possible?

2008-08-17 Thread Shalin Shekhar Mangar
On Sun, Aug 17, 2008 at 7:03 PM, Norberto Meijome <[EMAIL PROTECTED]>wrote: > hi guys, > First of all, thanks for DIH - it's great :) > > One thing I noticed during my tests ( nightly, 2008-08-16) is that, if the > DB is not available during SOLR startup time, the whole core won't > initialise .-

Re: DIH - calling spellchecker rebuild...

2008-08-17 Thread Shalin Shekhar Mangar
If it is only SpellCheckComponent that you are interested in, then see SOLR-622. You can add this to your SCC config to rebuild SCC after every commit: true Looks like the changes did not make it to the SCC wiki page. I shall update it. On Sun, Aug 17, 2008 at 7:18 PM, Norberto Meijome <[EMAIL P

DIH - calling spellchecker rebuild...

2008-08-17 Thread Norberto Meijome
Guys + gals, just a question of form - would DIH itself be the right place to implement a "URLS to call after successfully completing a DIH full or partial load" - for example, to rebuild spellchecker when new items have been added? Or should that be part of my external process (cron -> shell

DataImportHandler : more forgiving initialisation possible?

2008-08-17 Thread Norberto Meijome
hi guys, First of all, thanks for DIH - it's great :) One thing I noticed during my tests ( nightly, 2008-08-16) is that, if the DB is not available during SOLR startup time, the whole core won't initialise .- the error is shown below. I was wondering, 1) would it be possible to have DIH bomb o

[SOLVED...]Re: Problems using saxon for XSLT transforms

2008-08-17 Thread Norberto Meijome
On Tue, 12 Aug 2008 23:36:32 +1000 Norberto Meijome <[EMAIL PROTECTED]> wrote: > hi :) > I'm trying to use SAXON instead of the default XSLT parser. I was pretty sure > i > had it running fine on 1.2, but when I repeated the same steps (as per the > wiki) on latest nightly build, i cannot see any