required=true ?
field name=id type=string indexed=true stored=true
required=true /
Koji
Gudata wrote:
Is it possible to make a field for a document mandatory in the solr schema or
I must validate my xml against my document xml schema before I post it to
SOLR for update?
Is it possible to make a field for a document mandatory in the solr schema or
I must validate my xml against my document xml schema before I post it to
SOLR for update?
--
View this message in context:
http://www.nabble.com/How-to-make-a-field-mandatory-in-the-schema--tp18828259p18828259.html
I'd like to be able to specify query term weights/boosts, which it sounds
like bq was created for. I think my understanding from the wiki is a bit
rough, so I'm hoping I might be able to get some questions answered here.
Any thoughts/comments are much appreciated.
I initially tried simply
Thanks for response Norberto
Problem is that ..we can not use non release version whilst starting new
project.
For e.g.: if you use one method which is introduced in DataImportHAndler and
later in point in solr 1.3, same method is removed then we have to revise
all code.
Can we get solr 1.3
Hi Vikrant,
I would second Norberto's suggestion to use a nightly for now. Release
planning for 1.3 is underway and we are actively working towards that.
Hopefully, we should be able to get it out in a month assuming there are no
show stoppers, however there is no hard date yet.
There's been a
On Tue, Aug 5, 2008 at 12:43 PM, Kashyap, Raghu
[EMAIL PROTECTED] wrote:
Are there are tools that are available to view the indexing process? We
have a cron process which posts XML files to the solr index server.
However, we are NOT seeing the documents posted correctly and we are
also NOT
Hi All,
I am having to test solr indexing quite a bit on my local and dev
environments. I had the
unlockOnStartuptrue/unlockOnStartup.
But restarting my server still doesn't seem to remove the writelock file. Is
there some other configuration that I might have to do get this fixed.
I currently have multiple documents that i would like to index but i would
like to combine two fields to produce the unique key.
the documents either have 1 or the other fields so by combining the two
fields i will get a unique result.
is this possible in the solr schema?
On Aug 5, 2008, at 11:10 AM, Vicky_Dev wrote:
Thanks for response Norberto
Problem is that ..we can not use non release version whilst starting
new
project.
I would think that is when you can most live with it, since you aren't
close to production yet, but that's your call, not mine.
Hi all,
I seemed to have found the solution to this problem. Apparently,
allocating enough virtual memory on the server seems to only solve on half of
the problem. Even after allocating 4 gigs of Virtual memory on jboss server, I
still did get the Out of memory on sorting.
I didn't
Hi Sundar,
If increasing LRU cache helps you:
- you are probably using 'tokenized' field for sorting (could you
confirm please?)...
...you should use 'non-tokenized single-valued non-boolean' for better
performance of
sorting...
Fuad Efendi
==
http://www.tokenizer.org
The field is of type text_ws. Is this not recomended. Should I use text
instead?
Date: Tue, 5 Aug 2008 10:58:35 -0700 From: [EMAIL PROTECTED] To: [EMAIL
PROTECTED] Subject: RE: Out of memory on Solr sorting Hi Sundar, If
increasing LRU cache helps you: - you are probably using
My understanding of Lucene Sorting is that it will sort by 'tokens'
and not by 'full fields'... so that for sorting you need 'full-string'
(non-tokenized) field, and to search you need another one tokenized.
For instance, use 'string' for sorting, and 'text_ws' for search; and
use
Best choice for sorting field:
!-- This is an example of using the KeywordTokenizer along
With various TokenFilterFactories to produce a sortable field
that does not include some properties of the source text
--
fieldType name=alphaOnlySort class=solr.TextField
My issue with the logos presented was they made solr look like a
school project instead of the powerful tool that it is. The tricked
out font or whatever just usually doesn't play well with the business
types... they want serious-looking software. First impressions are
everything. While
On Tue, Aug 5, 2008 at 1:59 PM, Fuad Efendi [EMAIL PROTECTED] wrote:
If increasing LRU cache helps you:
- you are probably using 'tokenized' field for sorting (could you confirm
please?)...
Sorting does not utilize any Solr caches.
-Yonik
Yes.
On 8/5/08 4:58 PM, Ian Connor [EMAIL PROTECTED] wrote:
Hi,
When you store a multivaluefield in a given order
['one','two','three','four'], will it always return the values in that
order?
I know, and this is strange... I was guessing filterCache is used
implicitly to get DocSet for token; as Sundar wrote, increase of
LRUCache helped him (he is sorting on 'text-ws' field)
-Fuad
If increasing LRU cache helps you:
- you are probably using 'tokenized' field for sorting (could you
Yes this is what I did. I got an out of memory while executing a query with a
sort param
1. Stopped Jboss server
2.
filterCache class=solr.LRUCache size=2048 initialSize=512
autowarmCount=256/
!-- queryResultCache caches results of searches - ordered lists of
Thanks for the quick reply.
I was searching for multivalue field, multi value, order and positon
and didn't find the answer.
However, with this little bit of keyword loading, the next person to
search will be all good.
Order IS conserved when storing mutivalued fields in solr and lucene.
On
I think you want to boost specific clauses at *search* time, not
index time. Something like adding a clause
+CourseType:MATHMATICS^10
Best
Erick
On Tue, Aug 5, 2008 at 4:35 PM, Vicky_Dev [EMAIL PROTECTED]wrote:
Hi
Requirement: For given document , if course type = MATHMATICS then search
Sundar, very strange that increase of size/initialSize of LRUCache
helps with OutOfMemoryError...
2048 is number of entries in cache and _not_ 2Gb of memory...
Making size==initialSize of HashMap-based LRUCache would help with
performance anyway; may be with OOMs (probably no need to resize
One of the requirements we have is that when we deploy new data for solr
config (synonyms, dictionary etc) we should NOT be restarting the solr
instances for the changes to take effect.
Are there ConfigReload capabilities through JMX that can help us do
this?
Thanks in Advance
-Raghu
Yes we are sending the commits.
-Raghu
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik
Seeley
Sent: Tuesday, August 05, 2008 12:01 PM
To: solr-user@lucene.apache.org
Subject: Re: Diagnostic tools
On Tue, Aug 5, 2008 at 12:43 PM, Kashyap, Raghu
Oh Wow, I didnt know that was the case. I am completely left baffled now. BAck
to square one I guess. :)
Date: Tue, 5 Aug 2008 14:31:28 -0700 From: [EMAIL PROTECTED] To:
solr-user@lucene.apache.org Subject: RE: Out of memory on Solr sorting
Sundar, very strange that increase of
Hello, Otis!
I believe the best approach would be hacking the SolrIndexSearcher in
our case. Let me explain further what we want to know with a Car ad
website example.
Imagine that you have a website called CarStores and that you let people
search by brand, sorting by price etc.
So I'm
Try:
lockTypesingle/lockType
Koji
sundar shankar wrote:
Hi All,
I am having to test solr indexing quite a bit on my local and dev environments. I had the
unlockOnStartuptrue/unlockOnStartup.
But restarting my server still doesn't seem to remove the writelock file. Is there some
On Tue, 5 Aug 2008 11:43:44 -0500
Kashyap, Raghu [EMAIL PROTECTED] wrote:
Hi,
Hi Kashyap,
please don't hijack topic threads.
http://en.wikipedia.org/wiki/Thread_hijacking
thanks!!
B
_
{Beto|Norberto|Numard} Meijome
Software QA is like cleaning my cat's litter box:
On Tue, 5 Aug 2008 14:41:08 -0300
Scott Swan [EMAIL PROTECTED] wrote:
I currently have multiple documents that i would like to index but i would
like to combine two fields to produce the unique key.
the documents either have 1 or the other fields so by combining the two
fields i will get
On Tue, 05 Aug 2008 18:58:42 -0300
Leonardo Dias [EMAIL PROTECTED] wrote:
So I'm looking for a Ferrari. CarStore says that there are 5 ads for
Ferrari, but one ad has 2 Ferraris being sold, the other ad has 3
Ferraris and all the others have 1 Ferrari each, meaning that there are
5 ads and
On Wed, Aug 6, 2008 at 3:09 AM, Kashyap, Raghu [EMAIL PROTECTED]wrote:
Are there ConfigReload capabilities through JMX that can help us do
this?
No, only statistics are exposed through JMX at present.
SOLR-561 enables support for automatic config file replication to slaves
without downtime.
31 matches
Mail list logo