Re: Windows Version

2015-07-07 Thread Shawn Heisey
On 7/7/2015 10:43 AM, Allan Elkowitz wrote: > So I am a newbie at Solr and am having trouble getting the examples working > on Windows 7. > I downloaded and unzipped the distribution and have been able to get Solr up > and running. I can access the admin page. However, when I try to follow the

Re: Jetty in Solr 5.2.0

2015-07-07 Thread Shawn Heisey
On 7/7/2015 10:51 AM, Steven White wrote: > What I am faced with is this. I have to create my own crawler, similar to > DIH. I have to deploy this on the same server as Solr (this is given, I > cannot change it). I have to manage this crawler just like I have to > manage my Solr deployment using

Re: Jetty in Solr 5.2.0

2015-07-07 Thread Shawn Heisey
On 7/7/2015 10:03 AM, Steven White wrote: > This may be a question to be posted on Jetty mailing list, but I figured I > should start here first. > > Using Solr 5.2.0, when I start Solr, http://localhost:8983/solr/ is the > entry point. My question is: > > 1) Where is "solr" on the file system?

Sorting documents by child documents

2015-07-07 Thread DorZion
Hey, I'm using Solr 4.10.2 and I have child documents in every parent document. Previously, I used FunctionQuery to sort the documents: http://lucene.472066.n3.nabble.com/Sorting-documents-by-nested-child-docs-with-FunctionQueries-tp4209940.html

Re: function query result without queryNorm

2015-07-07 Thread Lee Chunki
well…. I wanna boost new document but queryNorm makes me to hard to tune weight for bf score. > On Jul 8, 2015, at 1:48 PM, Upayavira wrote: > > But why do you want that? > > > On Wed, Jul 8, 2015, at 05:31 AM, Lee Chunki wrote: >> Hi Markus, >> >> Thank you for your reply. >> >> I have m

Re: function query result without queryNorm

2015-07-07 Thread Upayavira
But why do you want that? On Wed, Jul 8, 2015, at 05:31 AM, Lee Chunki wrote: > Hi Markus, > > Thank you for your reply. > > I have more questions. > > what I want to do is sort document by "tfidf score + function query > score” > > there are problems to do this : > > * if I use function que

Re: function query result without queryNorm

2015-07-07 Thread Lee Chunki
Hi Markus, Thank you for your reply. I have more questions. what I want to do is sort document by "tfidf score + function query score” there are problems to do this : * if I use function query ( https://wiki.apache.org/solr/FunctionQuery ), there i

Re: Solr Boost Search word before Specific Content

2015-07-07 Thread JACK
Hi Ahmet, Can you elaborate it more? Is it possible to solve my problem in Solr 5.0.0? if yes can just explain how? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Boost-Search-word-before-Specific-Content-tp4216072p4216257.html Sent from the Solr - User mailing list a

Tlog replay

2015-07-07 Thread Summer Shire
Hi, When I restart my solr core the log replay starts and just before it finishes I see the following commit start commit{flags=2,optimize=false,openSearcher=true,waitSearcher=true,expungeDeletes=false,softCommit=false,prepareCommit=false} what does the “flags=2” param do ? when I try to sen

Re: Too many Soft commits and opening searchers realtime

2015-07-07 Thread Summer Shire
No the client lets solr handle it. > On Jul 7, 2015, at 2:38 PM, Mike Drob wrote: > > Are the clients that are posting updates requesting commits? > >> On Tue, Jul 7, 2015 at 4:29 PM, Summer Shire wrote: >> >> HI All, >> >> Can someone help me understand the following behavior. >> I have t

Re: Search inconsistency on Solr

2015-07-07 Thread Alessandro Benedetti
Hi, you pointed to a couple of issues related the Solr Cloud architecture. Is your problem involving querying different Solr nodes ? in the case you are testing a single node I find really hard to believe Solr scoring is not consistent ( assuming the index is not changing). Can you give us detail

Re: solr5 not woring in axis2

2015-07-07 Thread Alessandro Benedetti
it is actually not so easy to understand this mail, let me try anyway … Which version of SolrJ are you using ? With Solr 5.x the SolrServer actually became SolrClient ( which makes more sense) . This would actually produce a simple compilation exception so i guess it is not the problem… But i can

Re: Too many Soft commits and opening searchers realtime

2015-07-07 Thread Mike Drob
Are the clients that are posting updates requesting commits? On Tue, Jul 7, 2015 at 4:29 PM, Summer Shire wrote: > HI All, > > Can someone help me understand the following behavior. > I have the following maxTimes on hard and soft commits > > yet I see a lot of Opening Searchers in the log > org

Too many Soft commits and opening searchers realtime

2015-07-07 Thread Summer Shire
HI All, Can someone help me understand the following behavior. I have the following maxTimes on hard and soft commits yet I see a lot of Opening Searchers in the log org.apache.solr.search.SolrIndexSearcher- Opening Searcher@1656a258[main] realtime also I see a soft commit happening almost e

Re: Solr edismax always using the default fields?

2015-07-07 Thread Paden
Thank you! Thank you, thank you, thank you. That worked and it brought the right results. Thanks. It was driving me crazy. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-edismax-always-using-the-default-fields-tp4216204p4216228.html Sent from the Solr - User mailing l

Re: Solr edismax always using the default fields?

2015-07-07 Thread Chris Hostetter
Forgot the relevent documentation... https://cwiki.apache.org/confluence/display/solr/The+Extended+DisMax+Query+Parser https://cwiki.apache.org/confluence/display/solr/The+DisMax+Query+Parser : Date: Tue, 7 Jul 2015 13:57:25 -0700 (MST) : From: Chris Hostetter : To: solr-user@lucene.apache.or

Re: Solr edismax always using the default fields?

2015-07-07 Thread Chris Hostetter
according to hte echParams output, you aren't specifying a "q" param. You seem to be trying to specify your query input using the "q.alt" param -- but the q.alt param doesn't use the edismax parser specified by the defType param -- q.alt is a feature *of* the edismax parser that is used to com

Re: Solr edismax always using the default fields?

2015-07-07 Thread Paden
It just defaults to text anyway. I remove it entirely from the solrconfig and never specify it in the solr query portion but it still defaults to text anyway. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-edismax-always-using-the-default-fields-tp4216204p4216224.html

Re: Solr edismax always using the default fields?

2015-07-07 Thread Upayavira
What happens if you don't specify the df? On Tue, Jul 7, 2015, at 08:36 PM, Paden wrote: > Well I've just been using an authors name. Last Name, First Name Middle > Initial. Like *Snowman, Frosty T.* > > As for the debugging I'm not really seeing anything that would help me > understand why the q

boolean for if highlighting snippet contains complete original value or is truncated

2015-07-07 Thread Philip Durbin
I've been playing around with highlighting snippets and there are times when I'd like to know if the snippet returned contains the entire value of the original field or if the snippet is a truncated version of the original field. For example, when I search for "xms" below I can tell that the snipp

Re: Solr edismax always using the default fields?

2015-07-07 Thread Paden
Well I've just been using an authors name. Last Name, First Name Middle Initial. Like *Snowman, Frosty T.* As for the debugging I'm not really seeing anything that would help me understand why the query fields aren't kicking in. And instead only the default fields are. I do see that is parsing th

Re: Solr edismax always using the default fields?

2015-07-07 Thread Upayavira
What is your query? Note that edismax uses the Lucene query parser by default, and dismax if it encounters an error. Add debugQuery=true to your query, and look at the parsed query output to see what your query has been parsed into. This can often be very illuminating as you will see which fields

[ANNOUNCE] Luke 5.2.0 released

2015-07-07 Thread Dmitry Kan
This is a major release supporting lucene / solr 5.2.0. Download the zip here: https://github.com/DmitryKey/luke/releases/tag/luke-5.2.0 It supports elasticsearch 1.6.0 (lucene 4.10.4) Issues fixed: #20 Added support for reconstructing field values o

Solr edismax always using the default fields?

2015-07-07 Thread Paden
Hello, I'm trying to tune a search handler to get the results that I want. In the solrconfig.xml I specify several different query fields for the edismax query parser but it always seems to use the default fields instead. For example and clarification, when I remove Author from the "df" list of

Re: Solr UIMA Part Of Speech Tagging

2015-07-07 Thread techqnq
@Erik Hatcher-4 I had no issues using it. To achieve indexing as I did you need to use below AEs in your *AE.xml file: / / and in solrconfig.xml add below analyzeFields + fieldMapping in uima updateRequestProcessorChain: / false

Re: Jetty in Solr 5.2.0

2015-07-07 Thread Chris Hostetter
: The other option I looked at is writing my own handler for my crawler and : plugging it into Solr's solrconfig.xml. If I do this, then my crawler will : run in the same JVM space as Solr, this is something I want to avoid. If you don't want you crawler to run in the same JVM as solr, then aski

Re: Windows Version

2015-07-07 Thread Chris Hostetter
:  However, when I try to follow the instructions for loading the examples : I find that there is a file that I am supposed to have called post.jar : which I cannot find in the directory specified, exampledocs.  There is a : file called "post" in another directory but it does not seem to be a

Re: Windows Version

2015-07-07 Thread Erik Hatcher
Does https://cwiki.apache.org/confluence/display/solr/Post+Tool#PostTool-Windows solve the problem? — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Jul 7, 20

Windows Version

2015-07-07 Thread Allan Elkowitz
So I am a newbie at Solr and am having trouble getting the examples working on Windows 7. I downloaded and unzipped the distribution and have been able to get Solr up and running.  I can access the admin page.  However, when I try to follow the instructions for loading the examples I find that t

Re: Jetty in Solr 5.2.0

2015-07-07 Thread Steven White
What I am faced with is this. I have to create my own crawler, similar to DIH. I have to deploy this on the same server as Solr (this is given, I cannot change it). I have to manage this crawler just like I have to manage my Solr deployment using Solr API through HTTP request. I figured if I de

Re: Jetty in Solr 5.2.0

2015-07-07 Thread Chris Hostetter
Jetty is an implementation detail in Solr 5.0 -- modifying the underlying jetty configs, or directly adding handlers isn't supported by Solr. I nthe future, jetty may be ripped out completely and replaced with some other networking stack w/o advanced notice (probably unlikely, but smaller ch

Re: Jetty in Solr 5.2.0

2015-07-07 Thread Upayavira
On Tue, Jul 7, 2015, at 05:03 PM, Steven White wrote: > Hi Everyone, > > This may be a question to be posted on Jetty mailing list, but I figured > I > should start here first. > > Using Solr 5.2.0, when I start Solr, http://localhost:8983/solr/ is the > entry point. My question is: > > 1) Wh

Jetty in Solr 5.2.0

2015-07-07 Thread Steven White
Hi Everyone, This may be a question to be posted on Jetty mailing list, but I figured I should start here first. Using Solr 5.2.0, when I start Solr, http://localhost:8983/solr/ is the entry point. My question is: 1) Where is "solr" on the file system? 2) How can I add http://localhost:8983/MyH

Re: unsubscribe

2015-07-07 Thread Steve Rowe
Hi Jacob, See https://lucene.apache.org/solr/resources.html#mailing-lists for unsubscribe info Notice also that every email from the solr-user mailing list contains the following header: List-Unsubscribe: Steve > On Jul 7, 2015, at 11:46 AM, J

Re: Indexed field to schema field

2015-07-07 Thread Erick Erickson
Feels like an XY problem. Why do you want to do this? What's the use-case? Perhaps there's an alternative approach that satisfies the need. Best, Erick On Tue, Jul 7, 2015 at 4:21 AM, Mikhail Khludnev wrote: > Just an idea, Solr Admin/Schema Browser reports some info like this, hence, > you can

Re: Setup Solr Multiserver Environment

2015-07-07 Thread Erick Erickson
You're conflating creating collections with starting Solr instances. Ports are not associated with replicas, they're associated with instances of Solr. So what you're really trying to do is start three Solr instances with different ports. Collections and replicas will come later. Have you tried j

Re: unsubscribe

2015-07-07 Thread Jacob Singh
Unsubscribe On Jul 7, 2015 11:39 AM, "Jacob Singh" wrote: > > > -- > +1 512-522-6281 > twitter: @JacobSingh ( http://twitter.com/#!/JacobSingh ) > web: http://www.jacobsingh.name > Skype: pajamadesign > gTalk: jacobsi...@gmail.com >

Re: Sorting documents by nested / child docs with FunctionQueries

2015-07-07 Thread DorZion
Now I'm trying to sort the children by normal field and not by function values. Is there any way to do so? Thanks, Dor -- View this message in context: http://lucene.472066.n3.nabble.com/Sorting-documents-by-nested-child-docs-with-FunctionQueries-tp4209940p4216169.html Sent from the Solr -

Re: Remove operation of partial update doesn't work

2015-07-07 Thread Jack Krupansky
The add operation adds a value to a multivaled field. The remove operation removes a value from a multivalued field. If you believe that something is not working, please state clearly why you believe that something is not working. Start by describing the symptom. -- Jack Krupansky On Mon, Jul 6

Re: IndexWriter error

2015-07-07 Thread Shawn Heisey
On 7/7/2015 7:53 AM, jon kerling wrote: > I'm using Lucene 4.3.1, from time to time I'm loosing data while indexing.I > get an ERROR:"Lucene add index:this IndexWriter is closed". > I'm using IndexWriter.commit most of the time and when I finish I'm using > IndexWriter.close. > > What can caus

Re: Search inconsistency on Solr

2015-07-07 Thread Walter Underwood
We test the order of results, not the exact score. Score values depend on the number of documents in the index. Also, the order is the only thing we care about. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) On Jul 7, 2015, at 12:40 AM, joseph paulo ma

IndexWriter error

2015-07-07 Thread jon kerling
Hi, I'm using  Lucene 4.3.1, from time to time I'm loosing data while indexing.I get an ERROR:"Lucene add index:this IndexWriter is closed". I'm using IndexWriter.commit most of the time and when I finish I'm using IndexWriter.close. What can cause this Error?How can I shorten the time of the

Re: Migrating from solr 1.4.1 to 4.7

2015-07-07 Thread Shawn Heisey
On 7/7/2015 4:08 AM, anil.chandgude wrote: > currently I am using apache-solr1.4 which does not contain lucene > internally .So w used lucene 2.9 jar for that to get work. > > Now we want to migrate from solr version 1.4 to 4.7 due to jdk version > issue(we have jdk1.6 only ) > > But before migr

Re: autosuggest with solr.EdgeNGramFilterFactory no result found

2015-07-07 Thread Szűcs Roland
Thanx Erick, Your blog article was the perfect answer to my problem. Rgds, Roland 2015-07-03 18:57 GMT+02:00 Erick Erickson : > OK, I think you took a wrong turn at the bakery > > The FST-based suggesters are intended to look at the > beginnings of fields. It is totally unnecessary to use

RE: function query result without queryNorm

2015-07-07 Thread Markus Jelsma
Hello - you can either use a similarity that does not use query normalization, or you can just ignore it, it is relative anyway. Also, consider using boost parameter instead of bf, it is multiplicative where bf is just additive, which offers less control. You may also want to reduce time resolut

Re: Problems with loading core when starting Solr 5.2.1

2015-07-07 Thread Fadi Mohsen
Found the answer here: http://lucidworks.com/blog/call-maybe-solrcloud-jepsen-flaky-networks/ /Fadi > On 07 Jul 2015, at 11:48, Fadi Mohsen wrote: > > Hi, Would Solr give inconsistent results if ZK quorum not achieved + one > leader (last state) goes down? > > /Fadi > >> On 07 Jul 2015, at 0

function query result without queryNorm

2015-07-07 Thread Lee Chunki
Hi, I want to add some value to score. so, I tried to use “bf” but it returns value * queryNorm for example, when I use q=iphone&bf=div(ms(NOW,start_time),360) solr returns 799.5687 = (MATCH) FunctionQuery(div(ms(const(1436268218591),date(start_time)),const(360))), product of:

Re: Solr Boost Search word before Specific Content

2015-07-07 Thread Ahmet Arslan
Hi Jack, You may boost first n words of the product title via something like : https://issues.apache.org/jira/browse/SOLR-3925 However, I would create an additional boostable field. You can do this at index time in your indexing code. It will be easy to divide product title into two, and apply

Re: Indexed field to schema field

2015-07-07 Thread Mikhail Khludnev
Just an idea, Solr Admin/Schema Browser reports some info like this, hence, you can trace the way in which it does it. On Tue, Jul 7, 2015 at 10:34 AM, Gajendra Dadheech wrote: > Hi, > > Can i some how translate fields which i read from > newSearcher.getAtomicReader().fields(), to schema fields

Migrating from solr 1.4.1 to 4.7

2015-07-07 Thread anil.chandgude
hello, currently I am using apache-solr1.4 which does not contain lucene internally .So w used lucene 2.9 jar for that to get work. Now we want to migrate from solr version 1.4 to 4.7 due to jdk version issue(we have jdk1.6 only ) But before migrating to 4.7 , I am trying solr3.1.0 version.

Difference in Solr 4.6 & Solr 5.1 spellchecker results.

2015-07-07 Thread ssharma7...@gmail.com
Hi, I have a working version of Solr 4.6 Spellchecker, the configuration details are as mentioned below: *Solr 4.6 - schema.xml*

Is there a difference in Solr 4.6 Spellchecker & Solr 5.2 Spellchecker results

2015-07-07 Thread ssharma7...@gmail.com
Hi, The following is my configuration *Solr 4.6 - schema.xml*

Re: Problems with loading core when starting Solr 5.2.1

2015-07-07 Thread Fadi Mohsen
Hi, Would Solr give inconsistent results if ZK quorum not achieved + one leader (last state) goes down? /Fadi > On 07 Jul 2015, at 05:17, Erick Erickson wrote: > > A Zookeeper quorum is not necessary for searching. Well, > that's stating it a little too strongly. A Solr cluster will do its > b

RE: Setup Solr Multiserver Environment

2015-07-07 Thread Adrian Liew
Thanks Eric. I have a scenario whereby I will like to setup a minimal 1 shard with 3 replica all of which each replica sits in its one machine. I also have an external ZK ensemble setup with zk1, zk2 and zk3. A simple example: I create say collection1 in the following order to satisfy the sce

RE: Solr 5.2.1 setup zookeeper ensemble problem

2015-07-07 Thread Adrian Liew
Thanks David. That was helpful. I have managed to upload my configuration to ZooKeeper with the below. Best regards, Adrian -Original Message- From: davidphilip cherian [mailto:davidphilipcher...@gmail.com] Sent: Monday, July 6, 2015 4:35 PM To: solr-user@lucene.apache.org Subject: Re:

Solr Boost Search word before Specific Content

2015-07-07 Thread JACK
I am using Solr 5.0.0, I have one question in relevance boost: If I search for laptop table like words, is there any way to boost results search word before the words like by with or without etc. I used this query: ? defType = dismax & q = foo bar & bq = (*:* -by)^999 But, this will

Re: Problems with loading core when starting Solr 5.2.1

2015-07-07 Thread Zheng Lin Edwin Yeo
Yes, it shows the following under 'args'. - -DzkHost=localhost:2181,localhost:2182,localhost:2183 Regards, Edwin On 7 July 2015 at 15:22, Upayavira wrote: > If the zookeeper used isnt visible via the ui, it should be. Does it > show on the main dashboard under 'args'? > > Upayavira > > On

Fwd: Search inconsistency on Solr

2015-07-07 Thread joseph paulo mantuano
Hi All, I started using solr a while back. Now I'm writing jUnit test for the solr application but I encounter inconsistency in my results causing my jUnit tests to fail. There are times that the order of the documents returned will be different because of the score. Do you have any pointers to s

Search inconsistency on Solr

2015-07-07 Thread joseph paulo mantuano
Hi All, I started using solr a while back. Now I'm writing jUnit test for the solr application but I encounter inconsistency in my results causing my jUnit tests to fail. There are times that the order of the documents returned will be different because of the score. Do you have any pointers to s

Indexed field to schema field

2015-07-07 Thread Gajendra Dadheech
Hi, Can i some how translate fields which i read from newSearcher.getAtomicReader().fields(), to schema fields ? Does solr expose any method to do this translation ? Alternative approach i am thinking will involved lots of regex computation as the fields would be _string, _float etc and i would ha

RE: Tokenizer and Filter Factory to index Chinese characters

2015-07-07 Thread Markus Jelsma
Yes, but it is a small change :) M. -Original message- > From:Zheng Lin Edwin Yeo > Sent: Tuesday 7th July 2015 4:50 > To: solr-user@lucene.apache.org > Subject: Re: Tokenizer and Filter Factory to index Chinese characters > > So we have to recompile the analysers ourselves before we

Re: Problems with loading core when starting Solr 5.2.1

2015-07-07 Thread Upayavira
If the zookeeper used isnt visible via the ui, it should be. Does it show on the main dashboard under 'args'? Upayavira On Tue, Jul 7, 2015, at 04:30 AM, Zheng Lin Edwin Yeo wrote: > Thanks Erick for the info. > > So mine should be running on external ZooKeeper, since I'm using "- > bin\solr.c

Solr transactions naming using New Relic - anyone did it?

2015-07-07 Thread Gili Nachum
Hi, I want to have fine grained Solr calls naming using New Relic . So I can focus on monitoring those requests to Solr that mean end-user wait time. Anyone already implemented such a solution? In more detai