Re: Sole core naming convention for multicores

2009-05-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
solr will not give any exceptions .atleast ,there is no code which checks for that. choose names which are valid characters in url On Mon, May 18, 2009 at 11:08 AM, KK dioxide.softw...@gmail.com wrote: Thank you Otis. One silly question, how would I know that a particular character is

Simplest way of registering new solr core!

2009-05-18 Thread KK
Hi, What is the simplest way of registering a new solr core? Do we have to use some standard APIs for this, or making a Ajax get call to http://localhost:8983/solr/admin/cores with proper request parameter lik these,

Re: Simple search returns no documents

2009-05-18 Thread Jeffrey Gelens
Hi Otis, That seems to be the problem. The term positions for the index are 1 and 3. While the positions for the query are 1 and 2. The StopFilterTokenizer was set with setEnablePositionIncrementsDefault=true for the index analyzer while it was not enabled for the query analyzer. Thanks!

Howto? Applying a filter across schema fileds using state information

2009-05-18 Thread Yatir
Hi, I need to write a filter that extracts information from the content of one filed (say the Body field) and then applies some transformation based on this content, to a *different* filed (say: the Title field) is this possible ? Example: I will find certain keywords in the body and then

Howto? Obtain the IndexReader from within a solr filter

2009-05-18 Thread Yatir
Hi, I am writing a solr filter that needs the DocFreq of each Token in order to decide what to do with it. What is the easiest way to obtain this information from within the filter code ? thanks, Yatir -- View this message in context:

Query with AND|OR operator with Dismaxrequest

2009-05-18 Thread prerna07
Hi, I am not getting correct results with a Query which has multiple AND | OR operator. Query Format q=((A AND B) OR (C OR D) OR E)

Re: Simplest way of registering new solr core!

2009-05-18 Thread KK
Do we have to extend the CoreAdminHandler class and use some methods therein to register a new core? Thanks in appreciation. --KK On Mon, May 18, 2009 at 12:48 PM, KK dioxide.softw...@gmail.com wrote: Hi, What is the simplest way of registering a new solr core? Do we have to use some

Re: UK Solr users meeting?

2009-05-18 Thread Toby Cole
I know of a few people who'd be interested, we've got quite a few projects using Solr down here in Brighton. On 14 May 2009, at 10:41, Fergus McMenemie wrote: I was wondering if there is an interest in a UK (South East) solr user group meeting Please let me know if you are interested. I

Re: Simplest way of registering new solr core!

2009-05-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Mon, May 18, 2009 at 4:06 PM, KK dioxide.softw...@gmail.com wrote: Do we have to extend the CoreAdminHandler class and use some methods therein to register a new core? no. th create command will do that Thanks in appreciation. --KK On Mon, May 18, 2009 at 12:48 PM, KK

Query Boost Functions

2009-05-18 Thread Yao Ge
I have a field named last-modified that I like to use in bf (Boot Functions) parameter: recip(rord(last-modified),1,1000,1000) in DisMaxRequestHander. However the Solr query parser complain about the syntax of the formula. I think it is related with hyphen in the field name. I have tried to add

Re: How to update only few fields in a document

2009-05-18 Thread Vincent Pérès
Hello, I went through the ticket but it seems that nothing is envisaged until version 1.5 Thanks for your answer !! Vincent Otis Gospodnetic wrote: Vincent, Unfortunately things haven't changed yet. If all your fields are stored, have a look at SOLR-139. Otis -- Sematext --

How to gather fields when faceting results ?

2009-05-18 Thread Pierre-Yves LANDRON
Hello, Using faceting in my results, I would like to link two fields : For example, a parentID field should help me retrieve all the different parents ids from a query, but it can't be used for displaying the facets, as it doesn't mean anything for a user. A second field, parentTitle, in my

Re: Howto? Obtain the IndexReader from within a solr filter

2009-05-18 Thread A. Banji Oyebisi
Does anyone know if unsubscibe works for this mail list. I don't seem to be able to unsubscribe On May 18, 2009, at 9:12 AM, Noble Paul നോബിള്‍ नो ब्ळ् noble.p...@corp.aol.com wrote: I am writing a solr filter what is a solr filter? On Mon, May 18, 2009 at 2:18 PM, Yatir

Solr Document Sort

2009-05-18 Thread Gurjot Singh
Hi, In the Solr schema file I have a integer type field named as 'ContentType' as follows field name=ContentType type=int indexed=true stored=true/ The values of this field can be one of the following: 1(for News) , 2(for Reviews), 3(for Opinion), 4(for Blogs) I have a scenario in which when a

Re: Sole core naming convention for multicores

2009-05-18 Thread Brian Mansell
KK - In my experience with multi-core, I've found that using the user record's integer PK for each user core works well by still allowing the user to update their email addresses / usernames over time. cheers, --bemansell On May 17, 2009 10:39 PM, KK dioxide.softw...@gmail.com wrote: Thank

Re: Solr Document Sort

2009-05-18 Thread Brian Mansell
Gurjot - Take a look at the Solr Relevancy Cookbook http://wiki.apache.org/solr/SolrRelevancyCookbook - It provides some good guidelines for boosting term ranking. cheers, --bemansell On Mon, May 18, 2009 at 7:29 AM, Gurjot Singh gurjotas...@gmail.com wrote: Hi, In the Solr schema file I have

Re: Query Boost Functions

2009-05-18 Thread Koji Sekiguchi
Yao Ge wrote: I have a field named last-modified that I like to use in bf (Boot Functions) parameter: recip(rord(last-modified),1,1000,1000) in DisMaxRequestHander. However the Solr query parser complain about the syntax of the formula. I think it is related with hyphen in the field name. I have

Re: multicore for 20k users?

2009-05-18 Thread Chris Cornell
2009/5/17 Noble Paul നോബിള്‍ नोब्ळ् noble.p...@corp.aol.com: A few questions, 1) what is the frequency of inserts? A few per day per user at MOST. 2) how many cores need to be up and running at any given point That depends on the people. I would love to be able to tie it to their webapp

Re: Date field

2009-05-18 Thread Jack Godwin
My bad it was an id10t error. On Fri, May 15, 2009 at 8:21 PM, Otis Gospodnetic otis_gospodne...@yahoo.com wrote: Jack, Which bug are you referring to? Last time I played with function queries with date fields things worked as expected. If there is/was a known bug, it must be in

Re: How to gather fields when faceting results ?

2009-05-18 Thread Avlesh Singh
How about having a single facetable field with values parentId_parentTitle? Get rid of the parentId and the underscore as a post process. Cheers Avlesh On Mon, May 18, 2009 at 7:13 PM, Pierre-Yves LANDRON pland...@hotmail.comwrote: Hello, Using faceting in my results, I would like to link

Re: Solr Shard - Strange results

2009-05-18 Thread CB-PO
I'm not quite sure what logs you are talking about, but in the tomcat/logs/catalina.out logs, i found the following [note, i can't copy/paste, so i am typing up a summary]: I execute command: localhost:8080/bravo/select?q=fredrows=102start=0shards=localhost:8080/alpha,localhost:8080/bravo In

Re: Query with AND|OR operator with Dismaxrequest

2009-05-18 Thread Otis Gospodnetic
Prerna, Yes, DisMax doesn't take in queries with Boolean operators. But I believe there is a patch in JIRA that makes that possible. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: prerna07 pkhandelw...@sapient.com To:

Re: Solr Shard - Strange results

2009-05-18 Thread Yao Ge
Maybe you want to try with docNumber field type as string and see it would make a difference. CB-PO wrote: I'm not quite sure what logs you are talking about, but in the tomcat/logs/catalina.out logs, i found the following [note, i can't copy/paste, so i am typing up a summary]: I

Re: Indexing issue in DIH - not all records are Indexed

2009-05-18 Thread jayakeerthi s
Hi Noble, Many thanks for the reply Yes there is a UniqueKey in the Schema which is the ProductID. I also tried uniqueKey required=falsePROD_ID/uniqueKey. But no luck same only one document seen after querying *:* I have attached the Schema.xml used for your reference,please advise. Thanks and

Re: Howto? Obtain the IndexReader from within a solr filter

2009-05-18 Thread Erik Hatcher
On May 18, 2009, at 10:16 AM, A. Banji Oyebisi wrote: Does anyone know if unsubscibe works for this mail list. I don't seem to be able to unsubscribe It should work for you to unsubscribe by sending a mail to solr-user-unsubscr...@lucene.apache.org from your subscribed address, and you

RE: Incorrect sort with with function query in query parameters

2009-05-18 Thread Ensdorf Ken
A Unit test would be ideal, but even if you can just provide a list of steps (ie: using this solrconfig+schema, index these docs, then update this one doc, then execute this search) it can help people track things down. Please open a bug and attach as much detail as you can there. -Hoss

Re: Solr Shard - Strange results

2009-05-18 Thread CB-PO
I'm not quite sure how that would make a difference... From my most recent testing, it seems that the problem is related to the Shards element adding ids=[...] to one of the queries. However, I will give it a try. Yao Ge wrote: Maybe you want to try with docNumber field type as string and

Re: multicore for 20k users?

2009-05-18 Thread Ryan McKinley
since there is so little overlap, I would look at a core for each user... However, to manage 20K cores, you will not want to use the off the shelf core management implementation to maintain these cores. Consider overriding SolrDispatchFilter to initialize a CoreContainer that you

Re: UK Solr users meeting?

2009-05-18 Thread hbi dev
+1 vote here. We are based in London. Regards Waseem On Mon, May 18, 2009 at 11:42 AM, Toby Cole toby.c...@semantico.com wrote: I know of a few people who'd be interested, we've got quite a few projects using Solr down here in Brighton. On 14 May 2009, at 10:41, Fergus McMenemie wrote: I

Re: query regarding Indexing xml files -db-data-config.xml

2009-05-18 Thread jayakeerthi s
Hi Noble, Thanks for the reply, As advised I have changed the db-data-config.xml as below. But still the str name=Indexing completed. Added/Updated: 0 documents. Deleted 0 documents./str dataConfig dataSource type=FileDataSource name =xmlindex/ document name=products entity

Re: Incorrect sort with with function query in query parameters

2009-05-18 Thread Asif Rahman
I have been intending to although I have been dragging my feet on it. I've never opened a bug before so I'm not sure of the protocol. If you don't mind, it would be great if you could send me a pm and point me in the right direction. Thanks, Asif On Mon, May 18, 2009 at 7:30 PM, Ensdorf Ken

Re: Howto? Applying a filter across schema fileds using state information

2009-05-18 Thread Bryan Talbot
I needed to do something like this recently as well. I needed to copy a date field (with full precision to the millisecond) to a string field of just MMDD. I didn't see a way to do it in solr core. I ended up doing it in the Data Import Handler during import. I'd rather have code

Re: Query Boost Functions

2009-05-18 Thread Yonik Seeley
On Mon, May 18, 2009 at 11:12 AM, Koji Sekiguchi k...@r.email.ne.jp wrote: Yao Ge wrote: I have a field named last-modified that I like to use in bf (Boot Functions) parameter: recip(rord(last-modified),1,1000,1000) in DisMaxRequestHander. However the Solr query parser complain about the

Re: Incorrect sort with with function query in query parameters

2009-05-18 Thread Yonik Seeley
This was fixed April 24th https://issues.apache.org/jira/browse/SOLR-1124 explained further in https://issues.apache.org/jira/browse/SOLR- -Yonik http://www.lucidimagination.com On Thu, Mar 26, 2009 at 10:24 PM, Asif Rahman a...@newscred.com wrote: Hi all, I'm having an issue with the

DataImportHandler Template Transformer

2009-05-18 Thread Yao Ge
It took me a while to understand that to use the Template Transfomer (http://lucene.apache.org/solr/api/org/apache/solr/handler/dataimport/TemplateTransformer.html), all building variable names (e.g. ${e.firstName} ${e.lastName} etc). can not contain null values. I hope the parser can do a better

Re: Sole core naming convention for multicores

2009-05-18 Thread KK
I think I should also do the same way. Thanks Brain for pointing me to this idea. As per my db design I don't have any single key as PK, I'm thinking of putting a new field called [say] coreId and make it PK with auto-increment option[I'm using MySQL, btw], and this will solve the problem. I think

Re: Howto? Obtain the IndexReader from within a solr filter

2009-05-18 Thread Yatir
Thanks for Hijacking my thread! lerosky wrote: Does anyone know if unsubscibe works for this mail list. I don't seem to be able to unsubscribe On May 18, 2009, at 9:12 AM, Noble Paul നോബിള്‍ नो ब्ळ् noble.p...@corp.aol.com wrote: I am writing a solr filter what is a solr

Re: Howto? Obtain the IndexReader from within a solr filter

2009-05-18 Thread Yatir
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: I am writing a solr filter what is a solr filter? On Mon, May 18, 2009 at 2:18 PM, Yatir yat...@outbrain.com wrote: Hi, I am writing a solr filter that needs the DocFreq of each Token in