I just cant get it.
If i got 10 tables in mysql and they are all related to eachother with
foreign keys. Should i have 10 documents in solr?
or just one document with rows from all tables in it?
i have tried in vain for 2 days now...plz help
regards
fayer
Hi
Question: How do you log zero result searches?
I quite important from a business perspective to know what searches that
returns zero/empty results.
Does anybody know a way to get this information?
Roland Villemoes
Hi,
The answer is it depends ;)
If your 10 tables represent an entity e.g a person their address etc
the one document entity works
But if your 10 tables each represnt a series of entites that you want
to surface in your search results separately then make a document for
each (I.e it
The returning XML result tag has a numFound attribute that will report
0 if nothing matches your search criteria
David
On 15 Dec 2009, at 08:16, Roland Villemoes r...@alpha-solutions.dk
wrote:
Hi
Question: How do you log zero result searches?
I quite important from a business
Yes, correct.
But to use that - the search client must collect this information whenever we
have 0 results.
I do not want that to be part of the client application (quite hard when that
is SolrJS) - this should be collected server site - on Solr.
Do you know how to do that?
Roland
On Tue, Dec 15, 2009 at 7:26 AM, caman aboxfortheotherst...@gmail.comwrote:
Appreciate any guidance here please. Have a master-child table between two
tables 'TA' and 'TB' where form is the master table. Any row in TA can have
multiple row in TB.
e.g. row in TA
id---name
1---tweets
TB:
On Tue, Dec 15, 2009 at 1:07 AM, insaneyogi3008 insaney...@gmail.comwrote:
Hello,
I am running a simple prg
http://old.nabble.com/file/p26779970/SolrjTest.java SolrjTest.java to get
search results from a remote Solr server , I seem to correctly get back the
number of documents that match
On Mon, Dec 14, 2009 at 7:17 PM, kalidoss
kalidoss.muthuramalin...@sifycorp.com wrote:
Hi,
We have enabled the query result cache, its 512 entries,
we have calculated the size used for cache :
page size about 1000bytes, (1000*512)/1024/1024 = .48MB
The query result cache is a
Hi, thanks! I've done it by wrote a scripts to call
http://localhost:8080/solr/dataimport?command=delta-import automatically:-)
Joel Nylund wrote:
windows or unix?
unix - make a shell script and call it from cron
windows - make a .bat or .cmd file and call it from scheduler
within
Hi ,
Is there any limit in no of values stored in a single multi
valued string field ? if a single multi valued string field contains
1000-2000 string values what will be effect on query performance (we
will be only indexing this field not storing it ) ? is it better to
store all the
On Tue, Dec 15, 2009 at 3:13 PM, bharath venkatesh
bharath.venkat...@ibibogroup.com wrote:
Hi ,
Is there any limit in no of values stored in a single multi valued
string field ?
There is no limit theoretical limit. There are practical limits because your
documents are heavier. The
I've only just started with Solr too.
As a newbie, first I'd say forget about trying to compare it to your mysql
database.
It's completely different and performs it's own job in it's own way. You
feed a document in, and you store that information in the most efficient
manner you can to perform
On Tue, Dec 15, 2009 at 2:36 PM, Roland Villemoes
r...@alpha-solutions.dkwrote:
Yes, correct.
But to use that - the search client must collect this information whenever
we have 0 results.
I do not want that to be part of the client application (quite hard when
that is SolrJS) - this should
On Mon, Dec 14, 2009 at 1:00 PM, Phanindra Reva reva.phanin...@gmail.comwrote:
Hello..,
I have observed that the text or keywords which are being
indexed using dynamicField concept are being searchable only when we
mention field name too while querying.Am I wrong with my
The interesting thing I am noticing is that the scoring works fine for a
phrase query like solr rocks.
This lead me to look at what query I am using in case of a single term.
Turns out that I am using PayloadTermQuery taking a cue from solr-1485
patch.
I changed this to BoostingTermQuery (i read
i have two fields:
title
body
and i want to search for two words
dog
OR
cat
in each of them.
i have tried q=*:dog OR cat
but it doesnt work.
how should i type it?
PS. could i enter default search field = ALL fields in schema.xml in
someway?
On Tue, Dec 15, 2009 at 5:35 PM, Faire Mii faire@gmail.com wrote:
i have two fields:
title
body
and i want to search for two words
dog
OR
cat
in each of them.
i have tried q=*:dog OR cat
but it doesnt work.
how should i type it?
PS. could i enter default search field = ALL
i am using php to access solr and i wonder one thing.
why should i use solr php client when i can use
$serializedResult = file_get_contents('http://localhost:8983/solr/
select?q=niklaswt=phps');
to get the result in arrays and then print them out?
i dont really get the difference. is there
On Tue, Dec 15, 2009 at 8:49 AM, Faire Mii faire@gmail.com wrote:
i am using php to access solr and i wonder one thing.
why should i use solr php client when i can use
$serializedResult = file_get_contents('http://localhost:8983/solr/
select?q=niklaswt=phps');
to get the result in
In the end, the PHP client does a file_get_contents for doing a
search the same way you'd do it manually. It's all PHP, so you can
do anything it does yourself. It provides what any library of PHP
classes should - convenience. I use the JSON response writer because
it gets the most
Lucene 2.9.1 comes with a PayloadTermQuery:
http://lucene.apache.org/java/2_9_1/api/all/org/apache/lucene/search/payloads/PayloadTermQuery.html
I have been using that to use the payload as part of the score without any
problem.
Bill
On Tue, Dec 15, 2009 at 6:31 AM, Raghuveer Kancherla
Shalin,
Thanks. much appreciated.
Question about:
That is usually what people do. The hard part is when some documents are
shared across multiple users.
What do you recommend when documents has to be shared across multiple users?
Can't I just multivalue a field with all the users who has
Yes, that should work. One hard part is what happens if your
authorization model has groups, especially when membership
in those groups changes. Then you have to go in and update
all the affected docs.
FWIW
Erick
On Tue, Dec 15, 2009 at 12:24 PM, caman aboxfortheotherst...@gmail.comwrote:
Erick,
I know what you mean.
Wonder if it is actually cleaner to keep the authorization model out of
solr index and filter the data at client side based on the user access
rights.
Thanks all for help.
Erick Erickson wrote:
Yes, that should work. One hard part is what happens if your
Hello List,
I try to enable the spellchecker in my 1.4.0 solr (running with tomcat 6 on
debian).
But I always get the following exception, when I try to open
http://localhost:8080/spell?:
HTTP Status 500 - null java.lang.NullPointerException at
Hi Rafael,
Rafael Pappert wrote:
I try to enable the spellchecker in my 1.4.0 solr (running with tomcat 6 on
debian).
But I always get the following exception, when I try to open
http://localhost:8080/spell?:
The spellcheck=true pair is missing in your request. Try
Hi!
I wrote a subclass of DisMaxQParserPlugin to add a little filter for
processing the q param and generate a fq param.
Ej.: q=something field:value becomes q=something valuefq=field:value
To do this, in the createParser method, I apply a regular expression
to the qstr param to obtain the fq
Hi All,
I have a custom filter for lucene ,Can anyone help me how to use this
in SOLR.
Thanks in advance,
Pavan
Lucene keeps multiple versions of its API doc online at
http://lucene.apache.org/java/X_Y_Z/api/all/index.html
for version X.Y.Z. I am finding this very useful when
comparing different versions. This is also good because
the javadoc comments that I write for my software can
reference the API
Hi All,
I have a custom filter for lucene ,Can
anyone help me how to use this
in SOLR.
http://wiki.apache.org/solr/SolrPlugins#Tokenizer_and_TokenFilter
http://wiki.apache.org/solr/SolrPlugins#Analyzer
Hi
It appears that Solr reads a synonym list at startup from a text file.
Is it possible to alter this behaviour so that Solr obtains the synonym list
from a database instead?
Thanks,
Peter
im trying to do a wild card search
q:item_title:(gets*)returns no results
q:item_title:(gets)returns results
q:item_title:(get*)returns results
seems like * at the end of a token is requiring a character, instead
of being 0 or more its acting like1 or more
the text im trying to
: I'm having trouble getting Solr to use more than one thread during index
: optimizations. I have the following in my solrconfig.xml:
: mergeScheduler class=org.apache.lucene.index.ConcurrentMergeScheduler
: int name=maxThreadCount6/int
: /mergeScheduler
How many segments do
: My first problem appears because I need suggestions inclusive when the
: expression has returned results. It's seems that only appear
: suggestions when there are no results. Is there a way to do so?
can you give us an example of what your queries look like? with the
example configs, i can
Hi all,
Just wondering if it's possible to do filter exclusion (i.e.,
multiselect faceting) on query facets in Solr 1.4?
Thanks!
Mat
: i want to store dates into a date field called publish date in solr.
: how do we do it using solrj
I'm pretty sure that when indexing docs, you can add Date objects directly
to the SolrInputDocument as field values -- but 'm not 100% certain (i
don't use SolrJ much)
: likewise
: Does anyone know of a good way to perform a reverse-sorted facet query (i.e.
rarest first)?
I'm fairly confident that code doesn't exist at the moment.
If i remember correctly, it would be fairly simply to implement if you'd
like to submit a patch: when sorting by count a simple bounded
2009/12/15 Teruhiko Kurosaka k...@basistech.com
Lucene keeps multiple versions of its API doc online at
http://lucene.apache.org/java/X_Y_Z/api/all/index.html
for version X.Y.Z. I am finding this very useful when
comparing different versions. This is also good because
the javadoc comments
: Subject: Log of zero result searches
: References: 26747482.p...@talk.nabble.com 26748588.p...@talk.nabble.com
: 359a9283091203m73b4dc9ya51aa97e460b3...@mail.gmail.com
: 26756663.p...@talk.nabble.com 26776651.p...@talk.nabble.com
:
Thanks for the reply, just what I was looking for in answer. I am running
under Tomcat 6 on Solaris 10, the person that replied before you looks like
they running under jetty. I have configured jndi context. I stop and start
tomcat using the Solaris SMF, equivalent to services in linux. But
: Ej.: q=something field:value becomes q=something valuefq=field:value
:
: To do this, in the createParser method, I apply a regular expression
: to the qstr param to obtain the fq part, and then I do the following:
:
: NamedListObject paramsList = params.toNamedList();
:
Chris Hostetter wrote:
See Also: http://en.wikipedia.org/wiki/Thread_hijacking
You may want to update that link, since that wikipedia page has been
deleted for some time.
cheers
stuart
--
Stuart Yeates
http://www.nzetc.org/ New Zealand Electronic Text Centre
Do you get the same behavior if you search for gang instead of gets?
I'm wondering if there's something going on with stemEnglishPossesive.
According to the docs you *should* be OK since you set
setmEnglishPosessive=0,
but this would help point in the right direction.
Also, am I correct in
Hello,
I had this question to ask regarding building of a Solr query . On the solr
server running on a linux box my query that returns results is as follows ,
this one of course returns the search results
Hello,
I had this question to ask regarding building of a Solr query . On the solr
server running on a linux box my query that returns results is as follows ,
this one of course returns the search results
I store document in a field content field defiend as follow in schema.xml
field name=content type=text indexed=true stored=true
multiValued=true/
and following in solrconfig.xml
requestHandler name=/update/extract
class=org.apache.solr.handler.extraction.ExtractingRequestHandler
lst
Yes, you can tag filters using the new local params format and then
explicitly exclude them when providing the facet fields. see:
http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters
Cheers,
Uri
Mat Brown wrote:
Hi all,
Just wondering if it's possible to do filter
:
: I'm using facet.field=lbrand and do get good results for eg: Geomax, GeoMax,
: GEOMAX all of them falls into geomax. But when I'm filtering I do get
: strange results:
:
: brand:geomax gives numFound=0
: lbrand:geomax gives numFound=57 (GEOMAX, GeoMag, Geomag)
:
: How should I redefine
: Our QParser plugin will perform queries against directory documents and
: return any file document that has the matching directory id(s). So the
: plugin transforms the query to something like
:
: q:+(directory_id:4 directory:10) +directory_id:(4)
...
: Currently the parser plugin is
: 1) adding something like: q=cat_id:xxxfq=geo_id= would boost
: performance?
:
:
: For the n 1 query, yes, adding filters should improve performance
: assuming it is selective enough. The tradeoff is memory.
You might even find that something like this is faster...
Hi,
I'm a newbie and have a question about the text that is stored and then
returned from a query. The field in question is of type text, is indexed and
stored. The original text included various blank lines (line feeds), but when
the text field is returned as the result from a query, all of
51 matches
Mail list logo