sint and omitnorms

2008-10-09 Thread sanraj25
Hi, I create own field name using integer field type and sint field type(solr.SortableIntField) in schema.xml. i can't differentiate between these two field type. When this sint exactly use? If we use sint how it is sortable? I test by {sort =field name} in query window .but it's not work pr

Re: sint in schema.xml

2008-10-09 Thread sanraj25
Hi, I create own field name using integer field type and sint field type(solr.SortableIntField) in schema.xml. i can't differentiate between these two field type. When this sint exactly use? If we use sint how it is sortable? sanraj25 wrote: > > Hi, > I create own field name using

Re: How stop properly solr to modify solrconfig or ... files

2008-10-09 Thread Mark Miller
Chris Hostetter wrote: i thought the fsync additions to the version of Lucene in Solr 1.3 prevented situations like this (ensuring that your index was still usable, even if some documents were lost) It doesn't prevent it if the IO system has write caching enabled or if you have a hard drive

Re: scoring individual values in a multivalued field

2008-10-09 Thread Chris Hostetter
: and my query string is "Hennessy", the length normalization factor considers : all 4 tokens as in "John", "Hennessy", "David", "Patterson". This is : similar to the score if my field was like: : : John Hennessy David Patterson : : I want the score to consider only that field value with an

Re: Need help with Solr Performance

2008-10-09 Thread Chris Hostetter
: considering you're doing faceting on quite a few fields, the filterCache : is somewhat important. Sorry ... i overlooked the bit where QueryComponent was taking 6.x seconds ... in general knowing what the cache hit rates are looking like is crucial to understanding the performance, but as Ry

Re: Need help with Solr Performance

2008-10-09 Thread Chris Hostetter
Maybe i missed it, but skimming this thread i haven't seen any indication of how your configured the various caches in solrconfig.xml ... or any indication of what kinds of cache hit/miss/expullsion stats you see from stats.jsp after running any tests. considering you're doing faceting on quit

Re: Discarding undefined fields in query

2008-10-09 Thread Chris Hostetter
: I'll catch that and deal with it then (Or is it bad programming ?) . that's a psuedo-religious question -- i will only say that many people recomend against using Exception catching to drive control flow, it's called an "Exception" because it's suppose to be the "Exception" to the norm ... i

Re: solr 1.3 list of language managed org.apache.lucene.analysis

2008-10-09 Thread Chris Hostetter
: I'm using solr1.3 and I would like to know where can I find a place where : you have the list of the language managed by solr : : like for greek in the example : org.apache.lucene.analysis.el.GreekAnalyze. There isn't an explicitly list of langauges supported -- but if you look at the javadocs

Re: How stop properly solr to modify solrconfig or ... files

2008-10-09 Thread Chris Hostetter
you need to use whatever mechanism your servlet container has for shuting down cleanly -- depending on how you started tomcat, that might be hitting Ctrl-C in a terminal, or it might be running a "stop" command. : I did a full import and put adaptive parameter for mySql to avoid OOM error. If

Re: dismax and long phrases

2008-10-09 Thread Mike Klaas
On 7-Oct-08, at 9:27 AM, Jon Drukman wrote: Mike Klaas wrote: On 6-Oct-08, at 11:20 AM, Jon Drukman wrote: is there any way i could 'fake' it by adding a second field without stopwords, or something like that? Yep, you can "fake" it by only using fieldsets (qf) that have a consistent set

Re: Quick RSS feed questions

2008-10-09 Thread Chris Hostetter
: 1) Where can I find docs on how to get Solr to feed RSS directly? if you mean "consume rss" you should take a look at the DataImporthandler -- it let's you configure XPath expressions for extracting documents/fields from xml files. If you mean "produce rss" the XSLTResponseWriter can apply

Re: Using the more like this feature in solrj.

2008-10-09 Thread Erik Holstad
Thanks Bruce! That worked very well. Erik On Wed, Oct 8, 2008 at 9:14 PM, Bruce Ritchie <[EMAIL PROTECTED]>wrote: > Erik, > > I just got this to work myself and the documentation was only partially > helpful in figuring it out. Two main points on making this work via sor1j: > > #1 - Define the m

RE: sub skus with colour and size

2008-10-09 Thread Ensdorf Ken
> Every product we have comes in colour and size combinations, > I need to do a > faceted search on these that allows for colour and size and > various other > fields. A single product may have multiple colours and multiple sizes. > > For example a style might be available in black size 12, but >

dismax and stopwords (was Re: dismax and long phrases)

2008-10-09 Thread Jon Drukman
Norberto Meijome wrote: On Tue, 07 Oct 2008 09:27:30 -0700 Jon Drukman <[EMAIL PROTECTED]> wrote: Yep, you can "fake" it by only using fieldsets (qf) that have a consistent set of stopwords. does that mean changing the query or changing the schema? Jon, - you change schema.xml to define wh

solr.SynonymFilterFactory

2008-10-09 Thread sunnyfr
Hi guys, Just to know, in the schema.xml comments, it's wrote synonyms will be used at the query time. So when files are indexed is it too late, how it works really for this synonyms, stopwords, protwords, spellings ... should i feel them up before index data ... once done is it too late ...?

solr 1.3 list of language managed org.apache.lucene.analysis

2008-10-09 Thread sunnyfr
Hi, I'm using solr1.3 and I would like to know where can I find a place where you have the list of the language managed by solr : like for greek in the example : org.apache.lucene.analysis.el.GreekAnalyze. Thanks a lot, -- View this message in context: http://www.nabble.com/solr-1.3-list-of-l

Re: populating a spellcheck dictionary

2008-10-09 Thread Matt Mitchell
Woops, I was looking at the wrong example solrconfig.xml Thanks Grant! Matt On Thu, Oct 9, 2008 at 10:01 AM, Grant Ingersoll <[EMAIL PROTECTED]>wrote: > The example in example/solr/conf/solrconfig.xml should show a couple of > different options: > > > >textSpell > > > default >

sint in schema.xml

2008-10-09 Thread sanraj25
Hi, I create own field name using integer field type and sint field type(solr.SortableIntField) in schema.xml. i can't differentiate between these two field type. When this sint exactly use? If we use sint how it is sortable? I test by {sort =field name} in query window .but it's not work pr

Re: populating a spellcheck dictionary

2008-10-09 Thread Grant Ingersoll
The example in example/solr/conf/solrconfig.xml should show a couple of different options: textSpell default spell ./spellchecker1 jarowinkler spell name ="distanceMeasure">org.apache.lucene.search.spell.JaroWinklerDistancestr>

populating a spellcheck dictionary

2008-10-09 Thread Matt Mitchell
I'm starting to implement the new SpellCheckComponent. The solr 1.3 dist example is using a file based dictionary, but I'd like to figure out the best way to populate the dictionary from our index. Should the spellcheck field be multivalued? Thanks, Matt

Re: spellcheck: issues

2008-10-09 Thread Grant Ingersoll
On Oct 8, 2008, at 6:20 PM, Jason Rennie wrote: On Wed, Oct 8, 2008 at 3:31 PM, Jason Rennie <[EMAIL PROTECTED]> wrote: I just tried J-W and *yes* it seems to do a much better job! I'd certainly vote for that becoming the default :) Ack! I did some more testing and J-W results starte

Re: feeding documents tru API

2008-10-09 Thread Shalin Shekhar Mangar
Take a look at http://wiki.apache.org/solr/Solrj On Thu, Oct 9, 2008 at 5:08 PM, Cam Bazz <[EMAIL PROTECTED]> wrote: > Hello, > > I have been looking at the API documentation but I dont know where to > look in order to feed documents tru API without using xml files. > > any ideas? > > Best. > -C.

Re: feeding documents tru API

2008-10-09 Thread Kraus, Ralf | pixelhouse GmbH
Cam Bazz schrieb: Hello, I have been looking at the API documentation but I dont know where to look in order to feed documents tru API without using xml files. any ideas? Look for the "SolrIndexWriter" class... http://lucene.apache.org/solr/api/org/apache/solr/update/SolrIndexWriter.html

feeding documents tru API

2008-10-09 Thread Cam Bazz
Hello, I have been looking at the API documentation but I dont know where to look in order to feed documents tru API without using xml files. any ideas? Best. -C.B.

Re: Solr 1.3 try to fire delta-import.

2008-10-09 Thread sunnyfr
Brilliant :) My bad, I thought it would have been there by default. Sorry and thanks a lot, Shalin Shekhar Mangar wrote: > > As I said earlier too, you must register the DataImportHandler in your > solrconfig.xml > > If the solrconfig.xml does not have the following lines, you should add > it:

Re: feeding data

2008-10-09 Thread Cam Bazz
Hello Erik, I am specially interested on how to integrate it to a glassfish/ejb3 environment. In the past, I have done something like a proxy servlet to forward the request and get back the request. it is kind of bother some. also for indexing i need some sort of api access. Anyone has done int

sub skus with colour and size

2008-10-09 Thread simon123
Hi Please forgive my ignorance, i'm a complete newbie with solr and struggling to find any actual information online. I'm wanting to build a search for shoes, which from searching the archives I can see others have been trying to do, but without a clear indication of how. I'm attempting to use

Re: Solr 1.3 try to fire delta-import.

2008-10-09 Thread Shalin Shekhar Mangar
As I said earlier too, you must register the DataImportHandler in your solrconfig.xml If the solrconfig.xml does not have the following lines, you should add it: /home/username/data-config.xml Here data-config.xml should be the one you are using for your core. On Thu, Oct 9,

Re: Need help with more than just one index

2008-10-09 Thread Kraus, Ralf | pixelhouse GmbH
Hannes Carl Meyer schrieb: Hi Ralf, since Solr 1.3 it is possible to run multiple cores (indexes) inside a single deployment, please check: http://wiki.apache.org/solr/MultipleIndexes it is not even about seperating indexes but also have different configurations, index and query analyzers etc.

Re: Solr 1.3 try to fire delta-import.

2008-10-09 Thread sunnyfr
This is as well my logs : http://www.nabble.com/file/p19895639/syslog syslog I don't know really, I looked for as well dataimport.jsp file ... and I can find it : /var/lib/tomcat5.5/webapps/solr/admin/dataimport.jsp Maybe it's my link which is bad, I tried as well with : http://solr-test.adm.bo

Re: Need help with more than just one index

2008-10-09 Thread Hannes Carl Meyer
Hi Ralf, since Solr 1.3 it is possible to run multiple cores (indexes) inside a single deployment, please check: http://wiki.apache.org/solr/MultipleIndexes it is not even about seperating indexes but also have different configurations, index and query analyzers etc. Regards Hannes 2008/10/9

Need help with more than just one index

2008-10-09 Thread Kraus, Ralf | pixelhouse GmbH
Hello, I am wondering if there is a chance to use solr with more than just one index ? Is there a chance a could switch to another index if I want to search another context ? for example : searching for books : use index1 (schema1.xml) searching for magazines : use index 2 (schema2.xml) plea

Re: Problem in using Unique key

2008-10-09 Thread Norberto Meijome
On Wed, 8 Oct 2008 03:45:20 -0700 (PDT) con <[EMAIL PROTECTED]> wrote: > But in that case, while doing a full-import I am getting the following > error: > > org.apache.solr.common.SolrException: QueryElevationComponent requires the > schema to have a uniqueKeyField Con, if you don't use the Que

Re: Solr 1.3 try to fire delta-import.

2008-10-09 Thread sunnyfr
Hi Erik, It's exactly what I done, /data/solr -rwxr-xr-x 1 tomcat55 nogroup1955 Oct 8 16:28 gc.log drwxr-xr-x 4 tomcat55 root 4096 Oct 1 13:43 group drwxr-xr-x 2 tomcat55 root 4096 Oct 8 16:27 lib -rwxr-xr-x 1 tomcat55 root191 Oct 1 15:44 solr-jndi.xml -rwxr-xr-x 1 to

Re: dismax and long phrases

2008-10-09 Thread Norberto Meijome
On Tue, 07 Oct 2008 09:27:30 -0700 Jon Drukman <[EMAIL PROTECTED]> wrote: > > Yep, you can "fake" it by only using fieldsets (qf) that have a > > consistent set of stopwords. > > does that mean changing the query or changing the schema? Jon, - you change schema.xml to define which type each f