Re: Dedup component

2012-12-16 Thread Upayavira
No, not that I am aware of, you would have to do it in your application. Upayavira On Sun, Dec 16, 2012, at 12:55 AM, Jorge Luis Betancourt Gonzalez wrote: > Exist any similar approach that I could use in solr 3.6.1 or should I add > this logic to my application? > > - Mensaje original -

Re: Dedup component

2012-12-16 Thread Fergus McDowall
unsubscribe On Sat, Dec 15, 2012 at 2:34 AM, Jorge Luis Betancourt Gonzalez < jlbetanco...@uci.cu> wrote: > Hi all: > > I'm trying to build a query suggestion system using solr (also used to > index all the data in the app). I've a separated core dedicated only for > this purpose (along with som

Re: if I only need exact search, does frequency/score matter?

2012-12-16 Thread Upayavira
The default sort by score will only trigger if there is in fact a score - some searches result in a constant score, meaning documents come back in index order. Upayavira On Fri, Dec 14, 2012, at 02:13 PM, Bill Au wrote: > If your exact search returns more than one result, then by default they > a

Re: if I only need exact search, does frequency/score matter?

2012-12-16 Thread Walter Underwood
Also, merging often needs twice as much space as the files use, and can potentially need three times as much space. wunder On Dec 16, 2012, at 9:25 AM, Otis Gospodnetic wrote: > Correct - if you want relevancy later you will need to change which > Similarity you use and reindex everything. > >

Re: qt=mlt causes 0 results

2012-12-16 Thread Sam4875
In the debugQuery output im seeing MLT doing stuff when just using mlt=true and not qt=mlt but i get on output about interesting terms etc: body:i body:view body:seat body:solv body:can body:far body:paywarethat body:back body:eyefin body:use body:all body:obstruct body:paywar body:vanish body

Getting a patch evaluated/committed? Using stats with multivalued facet (SOLR-1782)

2012-12-16 Thread David Christianson
Hi I've have a real need for being able to use the StatsComponent with multivalued facets but have run into bugs, am wondering what I can do to help fix this bug in particular: https://issues.apache.org/jira/browse/SOLR-1782 For a while I've been using a patch filed on an older distributions b

Re: qt=mlt causes 0 results

2012-12-16 Thread Sam4875
ok I can see the related article id's in the debug output so im currently having to enable debugQuery and extract them from a serialized php output. So it seems like mlt is working but just not displaying the results in my normal xml output for some reason. Any ideas how i can view this output?

Commit and OpenSearcher not working as expected.

2012-12-16 Thread shreejay
Hello. I am running a commit on a solrCloud collection using a cron job. The command is as follows: aa.aa.aa.aa:8983/solr/ABCCollection/update?commit=true&opensearcher=false But when i see the logs I see the the commit has been called with openSearcher=true. The directupdatehandler2 in my sol

Re: Solr PHP client

2012-12-16 Thread Romita Saha
Hi, Yes I can access Solr via a browser. But cannot access it with Solr-PHP client. Thanks and regards, Romita From: Upayavira To: solr-user@lucene.apache.org, Date: 12/14/2012 09:49 PM Subject:Re: Solr PHP client Can you access your Solr server via a browser? I bet it i

Re: Commit and OpenSearcher not working as expected.

2012-12-16 Thread Mark Miller
Try openSearcher instead? - Mark On Dec 16, 2012, at 8:18 PM, shreejay wrote: > Hello. > > I am running a commit on a solrCloud collection using a cron job. The > command is as follows: > > aa.aa.aa.aa:8983/solr/ABCCollection/update?commit=true&opensearcher=false > > But when i see the logs

Re: how to understand this benchmark test results (compare index size after schema change)

2012-12-16 Thread Erick Erickson
The first thing I'd do is optimize if you haven't. You may be seeing data from deleted documents. And you should pretty much ignore the *.fdt and *.fdx files, those are where the raw data is stored. That's about the only place changing stored= would change the data on disk. Best Erick On Thu, D

Re: Solr PHP client

2012-12-16 Thread Romita Saha
Hi, I open the Solr browser using the following url: http://localhost:8983/solr/browser The PHP client code to ping server is ping() ) { echo 'Solr service not responding.'; exit; } Could you please let me know if the above portion of the code is correct? Or do I need to specify any

Re: FieldFlags QueryComponent

2012-12-16 Thread Erick Erickson
Uhhhmmm, why does it matter? What problem are you trying to solve? Apparently it's used to carry information about whether the search should return just scores or the document. The enum is in SolrIndexSearcher.java, see GET_DOCLIST and GET_SCORES Best Erick On Thu, Dec 13, 2012 at 5:52 AM, nihe

Re: Update / replication of offline indexes

2012-12-16 Thread Erick Erickson
See the very last line here: http://wiki.apache.org/solr/MergingSolrIndexes Short answer is that merging will lead to duplicate documents, even with uniqueKeys defined. So you're really kind of stuck handling this outside of merge, either by shipping the list of overwritten docs and deleting them

Re: optimun precisionStep for DAY granularity in a TrieDateField

2012-12-16 Thread Erick Erickson
Well, it's just a long so unless you have a humongous number of documents in your shards, there are probably bigger fish to fry. So I'd just try indexing with date math (e.g. /DAY) until I could demonstrate a problem. Best Erick On Sat, Dec 15, 2012 at 10:27 AM, Jack Krupansky wrote: > Maybe w

Re: Search date sort

2012-12-16 Thread Erick Erickson
append &sort=manufacturedate_dt desc to the url. Hack the vm files (conf/velocity) to allow a checkbox or something for this. Best Erick On Sun, Dec 16, 2012 at 3:07 PM, CalinH wrote: > Using the simple search interface provided with Solr (at > http://localhost:8983/solr/browse/), how do I ge

Re: Commit and OpenSearcher not working as expected.

2012-12-16 Thread shreejay
Hi Mark, That was a typo in my post. I am using openSearcher only. But still see the same log files. /update/?commit=true&openSearcher=false -- View this message in context: http://lucene.472066.n3.nabble.com/Commit-and-OpenSearcher-not-working-as-expected-tp4027419p4027451.html Sent from

Re: Commit and OpenSearcher not working as expected.

2012-12-16 Thread shreejay
Ok this is very surprising. I just ran the curl command curl --silent http://xx.xx.xx.xx:8985/solr/collectionABC/update/?commit=true&openSearcher=false And on the solr log file I can see these messages: /Dec 16, 2012 10:44:14 PM org.apache.solr.update.DirectUpdateHandler2 commit INFO: start c

Large import making solr unresponsive

2012-12-16 Thread Brent Mills
This is an issue we've only been running into lately so I'm not sure what to make of it. We have 2 cores on a solr machine right now, one of them is about 10k documents, the other is about 1.5mil. None of the documents are very large, only about 30 short attributes. We also have about 10 requ