Re: Questions on copyField

2009-09-15 Thread Rahul R
Would appreciate any help on this. Thanks Rahul On Mon, Sep 14, 2009 at 5:12 PM, Rahul R wrote: > Hello, > I have a few questions regarding the copyField directive in schema.xml > > 1. Does the destination field store a reference or the actual data ? > If I have soemthing like this > > then wil

Re: Solr exception with missing required field (meta_guid_s)

2009-09-15 Thread Shalin Shekhar Mangar
On Wed, Sep 16, 2009 at 1:13 AM, kedardes wrote: > > Hi, I have a data-config file where I map the fields of a very simple table > using dynamic field definitions : > > > > > > > >

Re: How to create a new index file automatically

2009-09-15 Thread busbus
> It can import documents in certain other formats using the > http://wiki.apache.org/solr/ExtractingRequestHandler > 1) According to my inference.Solr uses Apache Tikka to convert other rich document format files to Text Files, so that the Class ExtractRequestHandler use the output text file

Re: Retrieving a field from all result docuemnts & couple of more queries

2009-09-15 Thread abhay kumar
Hi, 1)Solr has various type of caches . We can specify how many documents cache can have at a time. e.g. if windowsize=50 50 results will be cached in queryResult Cache. if user makes a new request to server for results after 50 documents a new request will be sent to

Multiple parsedquery in the result set when debugQuery=true

2009-09-15 Thread Jason Rutherglen
Are there supposed to be multiple parsedquery entries for a distributed query when debugQuery=true?

Re: CSV Update - Need help mapping csv field to schema's ID

2009-09-15 Thread Chris Hostetter
: I would like to add an additional name:value pair for every line, mapping the : sku field to my schema's id field: : : .map={sku.field}:{id} the map param is for replacing a *value* with a different' value ... it's useful for things like numeric codes in CSV files that you want to replace wi

Re: Expected Approximate Release Date Solr 1.4

2009-09-15 Thread Chris Hostetter
: Its 15th-November-2009. Its been a year since Solr 1.3 was released. It's september actaully. : Is there any expected approximate release date for Solr 1.4 there is no specific date, but the timeframe and what the release is dependent on have been discussed in several threads... http://wiki

Re: Automatically calculate boost factor

2009-09-15 Thread Chris Hostetter
: http://wiki.apache.org/solr/FunctionQuery. Either that or roll it up into the : document boost, but that loses some precision. but if that's what you want to do then yes: solr can compute the documenta boost on submission based on the field values ... *IF* if you write an UpdateProcessor to

Re: documentation deficiency : case sensitivity of boolean operators

2009-09-15 Thread Chris Hostetter
: Subject: documentation deficiency : case sensitivity of boolean operators : : I couldn't find this anywhere on solr's docs / faq if you have suggestions on places to add it, feel free to update the wiki. (most of the documentation is deliberatly agnostic to the specifics of the query parser

Re: documentation deficiency : case sensitivity of boolean operators

2009-09-15 Thread Yonik Seeley
That's already linked from http://wiki.apache.org/solr/SolrQuerySyntax -Yonik http://www.lucidimagination.com On Tue, Sep 15, 2009 at 5:38 PM, Jonathan Vanasco wrote: > I couldn't find this anywhere on solr's docs / faq > > i finally found a reference on lucene >        http://lucene.apache.org

documentation deficiency : case sensitivity of boolean operators

2009-09-15 Thread Jonathan Vanasco
I couldn't find this anywhere on solr's docs / faq i finally found a reference on lucene http://lucene.apache.org/java/2_4_0/queryparsersyntax.html this should really be added somewhere. i'm not sure where, but I thought this was worth bringing up to the list -- as it really confuse

Re: faceted query not working as i expected

2009-09-15 Thread AHMET ARSLAN
--- On Tue, 9/15/09, Jonathan Vanasco wrote: > From: Jonathan Vanasco > Subject: faceted query not working as i expected > To: solr-user@lucene.apache.org > Date: Tuesday, September 15, 2009, 10:54 PM > I'm trying to request documents that > have "facet.venue_type" as "Private Collection" > >

Re: Single Core or Multiple Core?

2009-09-15 Thread Chris Hostetter
: A large majority of users use single core ONLY. It is hard to explain : them the need for an extra componentin the url. A majority use only a single core because that's all they know because it's what the default example and the tutorial use. Even when people have no have use for running mul

faceted query not working as i expected

2009-09-15 Thread Jonathan Vanasco
I'm trying to request documents that have "facet.venue_type" as "Private Collection" Instead I'm also getting items where another field is marked "Permanent Collection" My schema has: required="false" /> stored="true" required="false" /> My query is q=*:* qt=

Solr exception with missing required field (meta_guid_s)

2009-09-15 Thread kedardes
Hi, I have a data-config file where I map the fields of a very simple table using dynamic field definitions : but when I run the dataimport I get this error: WARNING: E

Re: How to create a new index file automatically

2009-09-15 Thread Chris Harris
There are a few different ways to get data into Solr. XML is one way, and probably the most common. As far as Solr is concerned it doesn't matter whether you construct XML input by hand or write some kind of code to do it. Solr won't automatically create any files like the example .xml files for yo

Re: "standard" requestHandler components

2009-09-15 Thread Chris Hostetter
: I just copied this information to the wiki at : http://wiki.apache.org/solr/SolrRequestHandler FYI: All of this info is specific to SearchComponents which are specific to SearchHandler -- so that page is a missleading place to put this info (plenty of other SearchHandlers don't support compon

Re: CSV Update - Need help mapping csv field to schema's ID

2009-09-15 Thread Mark A. Matienzo
On Tue, Sep 15, 2009 at 2:23 PM, Insight 49, LLC wrote: > Want to map each sku field to the schema unique id field using update/csv. You can set the sku field to be the uniqueKey field in the schema. See http://wiki.apache.org/solr/SchemaXml#head-bec9b4f189d7f493c42f99b479ed0a8d0dd3d76e for more

Re: CSV Update - Need help mapping csv field to schema's ID

2009-09-15 Thread Insight 49, LLC
Bump. Can anyone help guide me in the right direction? Want to map each sku field to the schema unique id field using update/csv. Thanks. Dan. Insight 49, LLC wrote: Using http://localhost:8983/solr/update/csv?stream.file, is there any way to map one of the csv fields to one's schema unique i

Re: stopfilterFactory isn't removing field name

2009-09-15 Thread Yonik Seeley
On Tue, Sep 15, 2009 at 1:14 PM, mike anderson wrote: > Could this be related to SOLR-1423? Nope, and I haven't been able to reproduce the bug you saw either. -Yonik > On Mon, Sep 14, 2009 at 8:51 AM, Yonik Seeley > wrote: > >> Thanks, I'll see if I can reproduce... >> >> -Yonik >> http://www.

Re: Best strategy to commit often under load.

2009-09-15 Thread Jason Rutherglen
Hi Jerome, 5 seconds is too little using Solr 1.3 or 1.4 because of caching and segment warming. If you turn off caching and segment warming, then you may be able do 5s latency using either a RAMDirectory or an SSD. In the future these issues will be fixed and less than 1s will be possible. -J O

Re: multicore shards and relevancy score

2009-09-15 Thread Jason Rutherglen
You can query multiple cores using MultiEmbeddedSearchHandler in SOLR-1431. Then the facet counts will be merged just like the current distributed requests. On Tue, Sep 15, 2009 at 7:41 AM, Paul Rosen wrote: > Shalin Shekhar Mangar wrote: >> >> On Tue, Sep 15, 2009 at 2:39 AM, Paul Rosen >> wrot

Re: stopfilterFactory isn't removing field name

2009-09-15 Thread mike anderson
Could this be related to SOLR-1423? On Mon, Sep 14, 2009 at 8:51 AM, Yonik Seeley wrote: > Thanks, I'll see if I can reproduce... > > -Yonik > http://www.lucidimagination.com > > On Mon, Sep 14, 2009 at 2:10 AM, mike anderson > wrote: > > Yeah.. that was weird. removing the line "forever,for eve

Expected Approximate Release Date Solr 1.4

2009-09-15 Thread Mohamed Parvez
Its 15th-November-2009. Its been a year since Solr 1.3 was released. Everyone is eagerly expecting that around this time Solr 1.4 will be released. (Refer Book: Solr 1.4 Enterprise Search Server, By David Smiley & Eric Pugh, Page 11 "the latest official release. Solr 1.3 was released on Septembe

Re: do NOT want to stem plurals for a particular field, or words

2009-09-15 Thread Jérôme Etévé
Hi, You can enable/disable stemming per field type in the schema.xml, by removing the stemming filters from the type definition. Basically, copy your prefered type, rename it to something like 'text_nostem', remove the stemming filter from the type and use your 'text_nostem' type for your field

do NOT want to stem plurals for a particular field, or words

2009-09-15 Thread DHast
I have a field where there are items that are plurals, and used as very specific locators, so i do a solr search type:articles, and it translates it into : type:article, then into type:articl... is tehre a way to stop it from doing this on either the field "type" or on a list of words "articles, n

Re: Return one word - Auto Complete Request Handler

2009-09-15 Thread Grant Ingersoll
On Sep 14, 2009, at 2:06 PM, Mohamed Parvez wrote: I am trying configure an request handler that will be uses in the Auto Complete Query. I am limiting the result to one field by using the "fl" parameter, which can be used to specify field to return. How to make the field return only one w

RE: Dataimport MySQLNonTransientConnectionException: No operations allowed after connection closed

2009-09-15 Thread Fuad Efendi
Easy FIX: use autoReconnect=true for MySQL: jdbc:mysql://localhost:3306/?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true May be it will help; connection is auto-closed " after a couple of seconds" (usually 10 seconds) by default, for MySQL... connection pooling won't help (their JD

Re: multicore shards and relevancy score

2009-09-15 Thread Paul Rosen
Shalin Shekhar Mangar wrote: On Tue, Sep 15, 2009 at 2:39 AM, Paul Rosen wrote: I've done a few experiments with searching two cores with the same schema using the shard syntax. (using solr 1.3) My use case is that I want to have multiple cores because a few different people will be managing t

How to create a new index file automatically

2009-09-15 Thread busbus
Hi all, I am newbie to Solr. I have downloaded and used the solr example and I have a basic doubt. There are some xml documents present in apache-solr-1.3.0\example\exampledocs. These are the input files to solr index and I found that by giving this command java –jar post.jar *.xml . All t

Retrieving a field from all result docuemnts & couple of more queries

2009-09-15 Thread Shashikant Kore
Hi, I am familiar with Lucene and trying out Solr. I have index which was created outside solr. The index is fairly simple with two field - document_id & content. The query result needs to return all the document IDs. The result need not be ordered by the score. For this, in Lucene, I use custom

Re: Dealing with term vectors

2009-09-15 Thread Grant Ingersoll
On Sep 15, 2009, at 5:31 AM, Licinio Fernández Maurelo wrote: Hi there, i want to recover the term vectors from indexes not calculating then but just only recovering instead. http://wiki.apache.org/solr/TermVectorComponent Some questions about this topic: 1. When i put the optio

Best strategy to commit often under load.

2009-09-15 Thread Jérôme Etévé
Hi all, I've got a solr server under significant load ( ~40/s ) and a single process which can potentially commit as often as possible. Typically, when it commits every 5 or 10s, my solr server slows down quite a lot and this can lead to congestion problems on my client side. What would you reco

New to Solr : How to create solr index for rich documents especially .xls

2009-09-15 Thread busbus
Hi I am a newbie to Solr. Right now I have to do a task of converting rich documents to Solr readable index format so that I can use the index for searching. I learnt about Solr and got a rough idea of what has to be done. Requirement 1: 1) I have to index the rich document format files like

Dealing with term vectors

2009-09-15 Thread Licinio Fernández Maurelo
Hi there, i want to recover the term vectors from indexes not calculating then but just only recovering instead. Some questions about this topic: 1. When i put the option ... what's happening behind? 1. Is Lucene storing the tv in the index? 2. Is Lucene storing additional inf

Re: Single Core or Multiple Core?

2009-09-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
A large majority of users use single core ONLY. It is hard to explain them the need for an extra componentin the url. I would say it is a design problem which we should solve instead of asking users to change On Tue, Sep 15, 2009 at 3:12 AM, Uri Boness wrote: > IMO forcing the users to do config

Re: Is it possible to query for "everything" ?

2009-09-15 Thread Erik Hatcher
[* TO *] on the standard handler is an implicit query of default_field_name:[* TO *] which matches only documents that have the default field on them. So [* TO *] and *:* are two very different queries, only the latter guaranteed to match all documents. Erik On Sep 14, 2009, at

Re: Dataimport MySQLNonTransientConnectionException: No operations allowed after connection closed

2009-09-15 Thread Noble Paul നോബിള്‍ नोब्ळ्
First of all let us confirm this issue is fixed in 1.4. 1.4 is stable and a lot of people are using it in production and it is going to be released pretty soon On Mon, Sep 14, 2009 at 8:05 PM, palexv wrote: > > I am using 1.3 > Do you suggest 1.4 from developer trunk? I am concern if it stable.

Re: multicore shards and relevancy score

2009-09-15 Thread Shalin Shekhar Mangar
On Tue, Sep 15, 2009 at 2:39 AM, Paul Rosen wrote: > > I've done a few experiments with searching two cores with the same schema > using the shard syntax. (using solr 1.3) > > My use case is that I want to have multiple cores because a few different > people will be managing the indexing, and that