Re: Tree Component for much Categories.

2010-04-15 Thread stockii
can solr store a recursive search ? -- View this message in context: http://n3.nabble.com/Tree-Component-for-much-Categories-tp718910p720590.html Sent from the Solr - User mailing list archive at Nabble.com.

Supporting multiple index / query analyzer stacks

2010-04-15 Thread Villemos, Gert
Having developed a system based on SOLr, we are now optimizing the ranking of the search results to give the user a better search experience. We would like to create multiple index / query analyzer stacks in the SOLr configuration to test how this affects the results. We would index the same

Re: Displaying fieldValueCache stats in Solr 1.4 admin/stats page

2010-04-15 Thread SandeepTagore
If you've never specified multiValued/tokenized fields for faceting, fieldValueCache won't be used. Koji Yes Koji. You are right. I just fired a faceted query and fieldValueCache is showing some stats. Thanks a lot. Sandeep -- View this message in context:

Reg: Indexing Date Fields

2010-04-15 Thread Venkata Sai Krishna Vepakomma
Hi, 1) How do I query for Data between 2 date ranges. I have specified the following field definition in Schema.xml. field name=createdDate type=long indexed=true stored=true / I have long values for Date fields. When I query with long values, I am always getting all the results. 2)

Re: dismax and date boosts

2010-04-15 Thread Shawn Heisey
It's stored in the database as a bigint, seconds since epoch, not a date. I need to store the integer value in Solr for the application to consume (done as a tlong), but I want to create a second copy that's tdate. That's the part I don't know how to do. If I just do a copyField in the

Re: Reg: Indexing Date Fields

2010-04-15 Thread Jean-Sebastien Vachon
I guess you can simply use a range query such as: fq=createdDate:[ date1 TO date2 ] On 2010-04-15, at 7:30 AM, Venkata Sai Krishna Vepakomma wrote: Hi, 1) How do I query for Data between 2 date ranges. I have specified the following field definition in Schema.xml. field

RE: Reg: Indexing Date Fields

2010-04-15 Thread Ankit Bhatnagar
Hi Venkat, It depends on your use- case, but if want to query for time(with whatever granularity) then 'int' is good. However if you just wan to query for date range then [date1 TO date2] should be fine. Ankit -Original Message- From: Jean-Sebastien Vachon

Re: Ignoring dataDir parameter in core creating process

2010-04-15 Thread Sergei Goorov
This issue has been resolved by removing dataDir property from solrconfig.xml On Wed, Apr 14, 2010 at 10:32 AM, Sergei Goorov goo...@gmail.com wrote: When solr core is being created (in my case from solrj lib) the parameter dataDir is ignored, the value from solrconfig.xml is used instead

Re: [ANN] Zoie Solr Plugin - Zoie Solr Plugin enables real-time update functionality for Apache Solr 1.4+

2010-04-15 Thread John Wang
Sorry, have completely missed this thread until someone pointed out to me just now. Some clarifications: commit=true is for the plugin only. I added it to make it consistent with Solr's behavior. Stand-alone Zoie does not require this, it is in more of an autocommit mode since it assumes a

Turn off request logging for some handlers?

2010-04-15 Thread Shawn Heisey
Is it possible to turn off request logging for some handlers? Specifically, I'd like to stop logging requests to /admin/ping and /replication, which get hit very often. I looked around for an answer but wasn't able to find anything. Thanks, Shawn

Re: Turn off request logging for some handlers?

2010-04-15 Thread Michael Kuhlmann
Am 15.04.2010 17:45, schrieb Shawn Heisey: Is it possible to turn off request logging for some handlers? Specifically, I'd like to stop logging requests to /admin/ping and /replication, which get hit very often. Hi, you can set logging for nearly every single task here:

Re: Turn off request logging for some handlers?

2010-04-15 Thread Shawn Heisey
On 4/15/2010 9:54 AM, Michael Kuhlmann wrote: you can set logging for nearly every single task here: http://host:port/solr/admin/logging.jsp I'm pretty sure that refers to the output that normally goes to stderr, I'm talking about the logs that go to files like 2010_04_15.request.log.

bug using distributed search, highlighting and q.alt

2010-04-15 Thread Marc Sturlese
I have noticed when using q.alt even if hl=true highlights are not returned. When using distributed search, q.alt and hl, HighlightComponent.java finishStage expects the highlighting NamedList of each shard (if hl=true) but it will never be returned. It will end up with a NullPointerExcepion. I

bug using distributed search, highlighting and q.alt

2010-04-15 Thread Marc Sturlese
I have noticed when using q.alt even if hl=true highlights are not returned. When using distributed search, q.alt and hl, HighlightComponent.java finishStage expects the highlighting NamedList of each shard (if hl=true) but it will never be returned. It will end up with a NullPointerExcepion. I

Re: weight and ranking

2010-04-15 Thread hkmortensen
suram wrote: Hi, without dismax,how can i create the more complex query for get a higher ranking for particular field Hi, you can do that with the ^, if I understand you correct. It is called boosting in solr. For example: a_member_name:billy^5 OR oswald This makes a hit with

XSD for Solrv1.4

2010-04-15 Thread Stefan Maric
Are there any plans to release an xsd ( preferably a set of JAXB classes) so we can process the xml returned for a search request

Re: XSD for Solrv1.4

2010-04-15 Thread hkmortensen
Smaric-2 wrote: Are there any plans to release an xsd ( preferably a set of JAXB classes) so we can process the xml returned for a search request I do not know. I would recommend to use solrj, the java client. I always do that myself, do you have a reason not to do that? -- View

Re: SOLR Exact match problem - Punctuations, double quotes etc.

2010-04-15 Thread hkmortensen
Does the text being searched contain the dot at that place (after doctor)? Hid-Mubarmij wrote: Hi, I am searching on SOLR and want to search exact match keywords. Punctualtion(Dot, Period), comma, double quotes or any other single charecter is being problematic when searching in SOLR

Re: XSD for Solrv1.4

2010-04-15 Thread Mattmann, Chris A (388J)
Hi Stefan, I'm not sure about releasing one for 1.4, but I was making some progress on SOLR-17 [1] (and see the linked issues from there) on pushing this forward. It dropped off my radar for a while, but I'd be happy to pick it up back up. Let me see what I can do. Thanks! Cheers, Chris [1]

Re: SOLR Exact match problem - Punctuations, double quotes etc.

2010-04-15 Thread Erick Erickson
What analyzer is your field using at index and query time? See: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters http://wiki.apache.org/solr/AnalyzersTokenizersTokenFiltersSome analyzers strip punctuation, some don't. Some lowercase, some don't. You can chain filters together to do

Re: DIH questions

2010-04-15 Thread Blargy
Is there anyway that a sub-entity can delete/rewrite fields from the document? Is there anyway sub-entities can get access to what the documents current value for a current field? -- View this message in context: http://n3.nabble.com/DIH-questions-tp719892p722651.html Sent from the Solr - User

RE: DIH questions

2010-04-15 Thread caman
I had similar requirement and was not able to figure out at that time. Was able to use some of the SQL Magic to create concatenated string for sub-entities and then process them in transformer which may or may not work for your use-case. Just a thought. Mention specifics here please and I can

RE: DIH questions

2010-04-15 Thread Blargy
Can you please explain how you solved your problem. Im going crazy over here! :) -- View this message in context: http://n3.nabble.com/DIH-questions-tp719892p722710.html Sent from the Solr - User mailing list archive at Nabble.com.

CopyField

2010-04-15 Thread Blargy
Is there anyway to instruct copy field overwrite an existing field, or only accept the first one? copyField source=source1 dest=dest/ copyField source=source2 dest=dest/ Basically I'm want to copy source1 to dest (if it exists). If source1 doesnt exist then copy source2 into dest. Is this

RE: CopyField

2010-04-15 Thread caman
As far as I know, No. But why don't you keep another column 'source_final' and you populate it with value from sourc1 or sourc2 depending on what has value(Look at transformer, may be script transformer) . then in schema.xml copyField source=source_final dest=dest/ Thanks James

Re: CopyField

2010-04-15 Thread Koji Sekiguchi
Blargy wrote: Is there anyway to instruct copy field overwrite an existing field, or only accept the first one? copyField source=source1 dest=dest/ copyField source=source2 dest=dest/ Basically I'm want to copy source1 to dest (if it exists). If source1 doesnt exist then copy source2 into

DIH dataimport.properties with

2010-04-15 Thread Michael Tibben
Hi, I am using the DIH to import data from a mysql slave. However, the slave sometimes runs behind the master. The delay is variable, most of the time it is in sync, but sometimes can run behind by a few minutes. This is a problem, because DIH uses dataimport.properties to determine the

run in background

2010-04-15 Thread Dan Yamins
Hi, Normally I've been starting solr like so: java -jar start.jar However, I need to have this process executed over a remove ssh connection that cannot be blocking. I'd therefore like to execute the process in the background, , somehow in a forked process, so that the command returns

Re: run in background

2010-04-15 Thread Walter Underwood
nohup my_command That will run my_command in the background and nohup ignores the SIGHUP signal sent when you log out. Or, originally, hang up the modem. wunder On Apr 15, 2010, at 8:27 PM, Dan Yamins wrote: Hi, Normally I've been starting solr like so: java -jar start.jar

RE: CopyField

2010-04-15 Thread Blargy
Thanks for the suggestion but I think I explained it wrong. I have 3 values valueA valueB valueC I would like to only add the last one if possible. IE if i have values A,B,C then add valueC. If I have A,B, then B... -- View this message in context:

Re: CopyField

2010-04-15 Thread Blargy
Thanks Koji... this is more of what I wanted. Is there any class or processor like this for the DataImportHanlder that can accomplish this? Thanks alot! -- View this message in context: http://n3.nabble.com/CopyField-tp722785p723060.html Sent from the Solr - User mailing list archive at

Re: SOLR Exact match problem - Punctuations, double quotes etc.

2010-04-15 Thread Hid-Mubarmij
Hi hkmortensen, Thanks, Yes the text contain the dot at that place (after doctor). -- View this message in context: http://n3.nabble.com/SOLR-Exact-match-problem-Punctuations-double-quotes-etc-tp720807p723087.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SOLR Exact match problem - Punctuations, double quotes etc.

2010-04-15 Thread Hid-Mubarmij
Hi Erick, Thanks, I am using solr.WhitespaceTokenizerFactory and solr.LowerCaseFilterFactory for both index and query time. Following is the complete field i am using schema.xml: == fieldType name=text_ws class=solr.TextField positionIncrementGap=100

Re: CopyField

2010-04-15 Thread Blargy
Ok stupid question i know (its been awhile since I played around with java). Once I have the jar file compiled and I include it in my home/lib directory how do I go about using it? Will this override the existing behavior or will this be a new command? copyField source=foo dest=bar/ or