Re: Logging fails when starting Solr in Windows using solr.cmd

2018-07-08 Thread zac
I did it success by remove 'file:' -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

RE: DIH nested cached entities not working after upgrade

2013-07-21 Thread Zac Smith
Same problem with 4.4.0 RC1. -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Sunday, July 21, 2013 5:57 AM To: solr-user@lucene.apache.org Subject: Re: DIH nested cached entities not working after upgrade Could you check with Solr 4.4 RC1: http://people.a

DIH nested cached entities not working after upgrade

2013-07-20 Thread Zac Smith
I recently upgraded a solr index from 3.5 to 4.3.0. I'm now having trouble with the data import handler when using the CachedSqlEntityProcessor. The first issue I found was that the 'where' option doesn't work anymore. Instead I am now using 'cacheKey' and 'cacheLookup'. My next issue is that i

Sort by bayesian function for 5 star rating

2012-03-12 Thread Zac Smith
Does anyone have an example formula that can be used to sort by a 5 star rating in SOLR? I am looking at an example on IMDB's top 250 movie list: The formula for calculating the Top Rated 250 Titles gives a true Bayesian estimate: weighted rating (WR) = (v ÷ (v+m)) × R + (m ÷ (v+m)) × C where

RE: Keyword Tokenizer Phrase Issue

2012-02-12 Thread Zac Smith
when removing terms from the query: https://issues.apache.org/jira/browse/SOLR-3128 Feedback welcome. Thanks Zac -Original Message- From: Zac Smith Sent: Friday, February 10, 2012 3:30 PM To: 'solr-user@lucene.apache.org' Subject: RE: Keyword Tokenizer Phrase Issue Thanks, that e

RE: Keyword Tokenizer Phrase Issue

2012-02-10 Thread Zac Smith
act matches on multi word text. Am I missing something here? Thanks Zac -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Friday, February 10, 2012 1:50 AM To: solr-user@lucene.apache.org Subject: RE: Keyword Tokenizer Phrase Issue Hi Zac, Field Analysis tool (analysis.

RE: Keyword Tokenizer Phrase Issue

2012-02-10 Thread Zac Smith
fieldNorm(field=ingredient_synonyms, doc=0) Any ideas? My dismax handler is setup like this: dismax explicit 0.01 ingredient_synonyms^0.6 ingredient_synonyms^0.6 Zac From: Zac Smith Sent: Thursday, February 09, 2012 12:52 PM To: solr-user@lucene.apache.o

Keyword Tokenizer Phrase Issue

2012-02-09 Thread Zac Smith
to do this: I thought I could do something like this: qt=dismax&q=fish OR _query_:ingredient:"chicken stock" I am using solr 3.5.0. My field type is: Thanks Zac

RE: Multi word synonyms

2012-02-07 Thread Zac Smith
Are you able to explain how I would create another field to fit my scenario? -Original Message- From: O. Klein [mailto:kl...@octoweb.nl] Sent: Tuesday, February 07, 2012 1:28 PM To: solr-user@lucene.apache.org Subject: RE: Multi word synonyms Well, if you want both multi word and single

RE: Multi word synonyms

2012-02-07 Thread Zac Smith
It doesn't seem to do it for me. My field type is: I am using edism

RE: Multi word synonyms

2012-02-07 Thread Zac Smith
I suppose I could translate every user query to include the term with quotes. e.g. if someone searches for stock syrup I send a query like: q=stock syrup OR "stock syrup" Seems like a bit of a hack though, is there a better way of doing this? Zac -Original Message----- From:

RE: Multi word synonyms

2012-02-05 Thread Zac Smith
an now be found when searching for just 'stock'. So the problem I am trying to address with KeywordTokenizerFactory, is to prevent my multi word synonyms from getting broken down into single words. Thanks Zac -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.c

RE: Multi word synonyms

2012-02-05 Thread Zac Smith
am using dismax and solr 3.5.0. Thanks Zac -Original Message- From: O. Klein [mailto:kl...@octoweb.nl] Sent: Sunday, February 05, 2012 5:22 AM To: solr-user@lucene.apache.org Subject: Re: Multi word synonyms Your query analyser will tokenize "simple sirup" into "simple&quo

Multi word synonyms

2012-02-04 Thread Zac Smith
a phrase, it doesn't work. e.g. synonyms.txt looks like: simple syrup,sugar syrup,stock syrup Now when putting the text 'simple syrup' into the Index Analyzer I can only see the original term listed. It is not finding the synonyms. Anyone know how to fix this? Zac Field Type definition:

How to specify dismax boost based on rating

2011-12-03 Thread Zac Smith
Hi, I think this is a pretty common requirement so hoping someone can easily point out the solution: I have an average rating field defined in my schema that is a tdouble and can be anything from 0 - 5 (including decimals). I am using dismax so I want to define a boost based on the average rat

Re: Newbie Question, can I store structured sub elements?

2011-08-25 Thread Zac Tolley
nd lucene storage whose performance is really > amazing. > > paul > > > Le 25 août 2011 à 21:07, Zac Tolley a écrit : > > > have come to that conclusion so had to choose between multiple fields > with > > multiple vales or a field with delimited text, gone for

Re: Newbie Question, can I store structured sub elements?

2011-08-25 Thread Zac Tolley
multiValued fields are returned as a lists. > > However, you can count on multi-valued fields being returned > in the order they were added, so it might work out for you to > treat these as parallel arrays in Solr documents. > > Best > Erick > > On Thu, Aug 25, 2011 at 3:

Re: Newbie Question, can I store structured sub elements?

2011-08-25 Thread Zac Tolley
id and showing.id probably isn't needed in a solr record. > > > > On 8/24/11 7:53 AM, Zac Tolley wrote: >> I have a very scenario in which I have a film and showings, each film has >> multiple showings at set times on set channels, so I have: >> >>

Newbie Question, can I store structured sub elements?

2011-08-24 Thread Zac Tolley
I have a very scenario in which I have a film and showings, each film has multiple showings at set times on set channels, so I have: Movie - id title description duration Showing - id movie_id starttime channelname I want to know can I store this in solr so that I keep this stucture?

RE: newbie question for DataImportHandler

2011-05-24 Thread Zac Smith
Sounds like you might not be committing the delete. How are you deleting it? If you run the data import handler with clean=true (which is the default) it will delete the data for you anyway so you don't need to delete it yourself. Hope that helps. -Original Message- From: antoniosi [mail

RE: Spatial Solr 3.1: filter by viewport

2011-05-23 Thread Zac Smith
way to specify the exact coordinates of the bounding box - http://wiki.apache.org/solr/SpatialSearch#bbox_-_Bounding-box_filter ?? Zac -Original Message- From: Zac Smith [mailto:z...@trinkit.com] Sent: Sunday, May 22, 2011 9:34 PM To: solr-user@lucene.apache.org Subject: Spatial Sol

Spatial Solr 3.1: filter by viewport

2011-05-22 Thread Zac Smith
cept where the viewport crosses over a point where the longitude goes from a positive value to a negative value. Thanks Zac

RE: Schema Design Question

2011-05-15 Thread Zac Smith
Ok thanks for the responses. My option #2 will be easier to implement than having the new doc with combinations so will give it a try. But that has opened my eyes to different possibilities! -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Sunday, May 15, 2

RE: Schema Design Question

2011-05-13 Thread Zac Smith
ith a large number of values or should you pass a large number of values in as a Boolean clause? Zac -Original Message- From: Otis Gospodnetic [mailto:otis_gospodne...@yahoo.com] Sent: Friday, May 13, 2011 10:37 AM To: solr-user@lucene.apache.org Subject: Re: Schema Design Question H

Schema Design Question

2011-05-13 Thread Zac Smith
Let's say I have a data model that involves books and bookshelves. I have tens of thousands of books and thousands of bookshelves. There is a many-many relationship between books & bookshelves. All of the books are indexed by SOLR. I need to be able to query SOLR and get all the books for a give

DIH CachedSqlEntityProcessor null exception

2011-04-13 Thread Zac Smith
I have come across an issue with the DIH where I get a null exception when pre-caching entities. I expect my entity to have null values so this is a bit of a roadblock for me. The issue was described more succinctly in this discussion: http://lucene.472066.n3.nabble.com/DataImportHandlerExcepti

RE: Using the Data Import Handler with SQLite

2011-04-04 Thread Zac Smith
I was able to resolve this issue by using a different jdbc driver: http://www.xerial.org/trac/Xerial/wiki/SQLiteJDBC -Original Message- From: Zac Smith [mailto:z...@trinkit.com] Sent: Friday, April 01, 2011 5:56 PM To: solr-user@lucene.apache.org Subject: Using the Data Import Handler

Using the Data Import Handler with SQLite

2011-04-01 Thread Zac Smith
I hope this question is being directed to the right place ... I am trying to use SQLite (v3) as a source for the Data Import Handler. I am using a sqllite jdbc driver (link below) and this works when using with only one entity. As soon as I add a sub-entity it falls over with a locked DB error: