How to retrieve all field names of index of one type

2008-10-14 Thread prerna07
Hi, I want to retrieve all field names of one index type, is there any way solr can do this? For example: I have 3 index with the field name and value : ProductVO I want to retrieve all other field names present in the indexes which have field name as index_type and value as "ProductVO". Plea

Re: Practical number of Solr instances per machine

2008-10-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
Todd. These criticisms are always welcome and help us identify the weak points in Solr. Keep them coming --Thanks On Wed, Oct 15, 2008 at 2:17 AM, Feak, Todd <[EMAIL PROTECTED]> wrote: > Sorry Yonik, I hope this didn't come off as criticism. > > Far from it. We are very happy with the performance

RE: Practical number of Solr instances per machine

2008-10-14 Thread Feak, Todd
Sorry Yonik, I hope this didn't come off as criticism. Far from it. We are very happy with the performance we are getting. I just happen to be the performance junkie trying to get every little bit out. That being said, I'm happy to hear it's going to get even better! -Todd -Original Messa

Re: Practical number of Solr instances per machine

2008-10-14 Thread Yonik Seeley
On Tue, Oct 14, 2008 at 4:29 PM, Feak, Todd <[EMAIL PROTECTED]> wrote: > In our load testing, the limit for utilizing all of the processor time > on a box was locking (synchronize, mutex, monitor, pick one). There were > a couple of locking points that we saw. > > 1. Lucene's locking on the index f

RE: Practical number of Solr instances per machine

2008-10-14 Thread Feak, Todd
In our load testing, the limit for utilizing all of the processor time on a box was locking (synchronize, mutex, monitor, pick one). There were a couple of locking points that we saw. 1. Lucene's locking on the index for simultaneous read/write protection. 2. Solr's locking on the LRUCaches for up

qf boosting - unique count?

2008-10-14 Thread Hung Huynh
&q=test&qf=title^1 Title = "test, taking test, exam" Solr boosts 2 points for 2 occurrences of the word "test" in the title. Is there a way to configure solr to just give 1 point, regardless the number of occurrences? Thanks, HH

Re: Practical number of Solr instances per machine

2008-10-14 Thread Phillip Farber
Otis, you have a good memory :-) I guess the main thing that prompted my question me was Mike Klass' statement that he runs 2 instance per machine to "squeeze" performance out of the box. That raised the question in my mind as to just how this could benefit performance over a single instance

Re: SOLR query times

2008-10-14 Thread Chris Hostetter
: If the latency is caused by loading and caching of Lucene's segments, : is there a way to force Lucene's index to preload this? This seems to configure some static queries in newSearcher and firstSearcher listeners ... it doesn't really matter what the queries are as long as they force some

Re: Querying multivalued field - can scoring formula consider only matched values?

2008-10-14 Thread Chris Hostetter
For the type of example you're describing, i would suspect setting omitNorms="true" for your courses field would make the most sense -- that way both of your example docs would score the same. I don't see a lot of value in having norms for a short multivalued field like that. Alternately: you

Re: DateField

2008-10-14 Thread Chris Hostetter
: my question is what is the purpose of NOW-1DAY,NOW-1HOUR these values.How : we use the Datefield efficiently.(Or) can we use this filed while searching : ? (Or) can we pass this parameters while sending query? expressions like "NOW-1DAY" are just a syntax goodie of DateField that let you expr

RE: Multi-language solr1.3 what would you reckon?

2008-10-14 Thread Lance Norskog
The Distributed Search feature has nothing to do with the MultiCore feature. http://wiki.apache.org/solr/DistributedSearch Distributed Search is a "horizontal partition" on an index schema, meaning there are multiple indexes supplying different rec

Re: Presorting field termlist in numerical order

2008-10-14 Thread Aleksandar Bradic
Ah, indeed :) Thanks, .Alek On Oct 14, 2008, at 3:21 PM, Steven A Rowe wrote: Hi Alek, On 10/13/2008 at 8:29 PM, Aleksandar Bradic wrote: For custom faceting of numerical fields (and similar applications), it would be super-useful if the list of terms for each numerical field in the index (a

Re: Retrieving a non-indexed but stored field

2008-10-14 Thread Erik Hatcher
On Oct 14, 2008, at 12:16 PM, Andrew Nagy wrote: Hello - I have the following field: multiValued="true"/> However, when I do a search, the url field does not display. Does the field also need to be indexed in order to retrieve the data? No... but it does need to be requested, either as

Retrieving a non-indexed but stored field

2008-10-14 Thread Andrew Nagy
Hello - I have the following field: However, when I do a search, the url field does not display. Does the field also need to be indexed in order to retrieve the data? Thanks Andrew

Re: Creating facet filters dinamically

2008-10-14 Thread klazzthy
Hello, I just implemented my own system creating a cue of most high frequency terms with lucene's class HighFreqTerms. After that I used a custom hit collector to deal with the terms of the cue, but it's not fast enough. Now I am trying to set up Solr in my app and will try to use Solr's faceting.

Re: Need Help, Can I query the index from command line

2008-10-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
see an example here http://wiki.apache.org/solr/DataImportHandler#head-e68aa93c9ca7b8d261cede2bf1d6110ab1725476 On Tue, Oct 14, 2008 at 9:17 PM, Erik Hatcher <[EMAIL PROTECTED]> wrote: > Solr's new DataImportHandler can index RSS (and Atom should be fine too) > feeds. > >Erik > > On Oct 14

Re: Need Help, Can I query the index from command line

2008-10-14 Thread Erik Hatcher
Solr's new DataImportHandler can index RSS (and Atom should be fine too) feeds. Erik On Oct 14, 2008, at 11:37 AM, msizec wrote: Thank you for your help. I've just realized that Solr could not index pages from the web. I wonder if someone of you guys would know another open source

Re: Need Help, Can I query the index from command line

2008-10-14 Thread msizec
Thank you for your help. I've just realized that Solr could not index pages from the web. I wonder if someone of you guys would know another open source search tool that could do this job : indexing pages (rss, atom feeds) from an urls list ant let me query it from the command line so that I cou

Re: Multi-language solr1.3 what would you reckon?

2008-10-14 Thread Hannes Carl Meyer
I attached an example for you. The challenge with MultiCore is on the client's search logic. It would help if you know which language the person wants to search through. If not you would have to perform multiple requests to the multiple cores. Ordinary logic would be: 1. search "chien" in core0 (

Re: Creating facet filters dinamically

2008-10-14 Thread Erik Hatcher
Sounds like Solr's faceting is exactly what you're looking for. Have you given it a try? How's it working for you? Erik On Oct 14, 2008, at 5:44 AM, klazzthy wrote: Hello, I am going mad these days trying to improve my site. I am trying to do something that I'm not sure if it's e

Re: Multi-language solr1.3 what would you reckon?

2008-10-14 Thread sunnyfr
Thanks for this explanation, but just to get it properly : One core per language, so with the same field and schema just the language part and management which is different? and one core which consider every language which are not managed by solr like russian or ??? so different request to the d

Re: Need Help, Can I query the index from command line

2008-10-14 Thread Yonik Seeley
On Tue, Oct 14, 2008 at 10:08 AM, msizec <[EMAIL PROTECTED]> wrote: > I've been searching, for a few days, for an open source search engine that > could permit me to query its index from a linux/unix command line (or from a > script) and then return me a list of urls matching the query ? Assuming

Need Help, Can I query the index from command line

2008-10-14 Thread msizec
Hi all, I'm french so my english could be a little bad ... I've been searching, for a few days, for an open source search engine that could permit me to query its index from a linux/unix command line (or from a script) and then return me a list of urls matching the query ? Could Solr be my graa

RE: Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-14 Thread Steven A Rowe
Hi Ralf, On 10/14/2008 at 9:35 AM, Kraus, Ralf | pixelhouse GmbH wrote: > Steven A Rowe schrieb: > > Oops, variable-name != attribute-name. > > > > Thanks Hoss. > > > > Steve > So > > "dictFile" or "dictionary" ??? Sorry, didn't mean to muddy the water. Hoss is correct. I misread the s

Re: Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-14 Thread Kraus, Ralf | pixelhouse GmbH
Steven A Rowe schrieb: Oops, variable-name != attribute-name. Thanks Hoss. Steve So "dictFile" or "dictionary" ??? Greets -Ralf-

RE: Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-14 Thread Steven A Rowe
Oops, variable-name != attribute-name. Thanks Hoss. Steve On 10/14/2008 at 1:12 AM, Chris Hostetter wrote: > > > Try using the name of the file without a path - I believe > the conf/ directory is in the search path used by Solr when > loading resources, i.e.: > > > >dictFile="de_DR.xml" >

RE: Presorting field termlist in numerical order

2008-10-14 Thread Steven A Rowe
Hi Alek, On 10/13/2008 at 8:29 PM, Aleksandar Bradic wrote: > For custom faceting of numerical fields (and similar > applications), it would be super-useful if the list of > terms for each numerical field in the index (accessible > via FieldCache.StringIndex.lookup), could be stored in > numerical

Re: spellcheck: problem with word endings

2008-10-14 Thread Shalin Shekhar Mangar
You may be using a stemmed field to create the spellcheck index. Does the solr field has EnglishPorterFilterFactory in the analyzer section? On Tue, Oct 14, 2008 at 6:26 PM, Aleksey Gogolev <[EMAIL PROTECTED]> wrote: > > Hello. > > I have a problem with word endings and spellchecker. Here three >

spellcheck: problem with word endings

2008-10-14 Thread Aleksey Gogolev
Hello. I have a problem with word endings and spellchecker. Here three examples to explain what is wrong: 1) q=apple Spelling suggestion is "appl" 2) q=aspire Spelling suggestion is "aspir" 3) q=battery Spelling suggestion is "batteri" There are no docs containing "appl", "aspir" or "b

Re: error with delta import

2008-10-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
the query makes my head spin . joining on an sql does not enable you to populate multivalued fields . Otherwise , it is all fine pk attribute is missing in the entity On Tue, Oct 14, 2008 at 6:16 PM, Florian Aumeier <[EMAIL PROTECTED]> wrote: > Noble Paul നോബിള്‍ नोब्ळ् schrieb: >> >> apparently

Re: error with delta import

2008-10-14 Thread Shalin Shekhar Mangar
You are missing the "pk" field (primary key). This is used for delta imports. On Tue, Oct 14, 2008 at 6:16 PM, Florian Aumeier <[EMAIL PROTECTED]>wrote: > Noble Paul നോബിള്‍ नोब्ळ् schrieb: > >> apparently you have not specified the deltaQuery attribute in the entity. >> Check the delta-import s

Re: error with delta import

2008-10-14 Thread Florian Aumeier
Noble Paul നോബിള്‍ नोब्ळ् schrieb: apparently you have not specified the deltaQuery attribute in the entity. Check the delta-import section in the wiki http://wiki.apache.org/solr/DataImportHandler or you can share your data-config file and we can take a quick look here is my data-config. I

Re: error with delta import

2008-10-14 Thread Noble Paul നോബിള്‍ नोब्ळ्
apparently you have not specified the deltaQuery attribute in the entity. Check the delta-import section in the wiki http://wiki.apache.org/solr/DataImportHandler or you can share your data-config file and we can take a quick look On Tue, Oct 14, 2008 at 5:05 PM, Florian Aumeier <[EMAIL PROTEC

Re: Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-14 Thread Kraus, Ralf | pixelhouse GmbH
Chris Hostetter schrieb: : :dictFile="de_DR.xml" : : according to the code the param name is "dictionary" not dictFile. PS: the dictionary file shouldn't be and XML file, it should look just like a stopwords file (one word per line) -Hoss thx ! It finally runs perfect ! Gree

error with delta import

2008-10-14 Thread Florian Aumeier
Hi, I have some problems with delta-import. Here are the infos I have. The result from the web API, apparantly everything is fine: − 0 0 − − db-psql-data-config.xml idle − 0:29:30.615 1 16194 0 0 2008-10-14 11:23:31 2008-10-14 11:23:31 2008-10-14 11:32:16 2008-10-14 11:32:16 16194 − T

Re: Multi-language solr1.3 what would you reckon?

2008-10-14 Thread Hannes Carl Meyer
Sorry, yes MultiCore means multiple indexes! Regards, Hannes On Tue, Oct 14, 2008 at 11:53 AM, sunnyfr <[EMAIL PROTECTED]> wrote: > > is it ??? > > > sunnyfr wrote: > > > > Ok so actually multi-core is multi-index? > > Cheers for this links > > > > > > Hannes Carl Meyer-2 wrote: > >> > >> Nope,

Re: Multi-language solr1.3 what would you reckon?

2008-10-14 Thread sunnyfr
is it ??? sunnyfr wrote: > > Ok so actually multi-core is multi-index? > Cheers for this links > > > Hannes Carl Meyer-2 wrote: >> >> Nope, your schema defines a single index with alle languages being >> stored. >> The other way would be MultiCore/MultipleIndexes as described here: >> http:

Creating facet filters dinamically

2008-10-14 Thread klazzthy
Hello, I am going mad these days trying to improve my site. I am trying to do something that I'm not sure if it's even possible. I would really apreciate any advice. I have a lucene index and I am trying to distribute my information in different topics. Imagine i have an index of animals. I want t

Deploying Solr with winstone servlet

2008-10-14 Thread Geetha, ANGLER - EIT
Hi, I need to deploy the Solr using winstone servlet engine. Please help me how to configure it. Regards, Geetha S | System and Software Engineer email: [EMAIL PROTECTED]

Re: Querying multivalued field - can scoring formula consider only matched values?

2008-10-14 Thread Svein Parnas
On Oct 13, 2008, at 9:34 PM, abhishek007 wrote: Svein Parnas-2 wrote: One way to boost exact match of one occurrence of a multivalued field is to add some kind of special start-of-field token and end-of-field token in the data, eg: John Dane softok Algorithms eoftok softok Theory eoft