On 28.05.2010 22:06, Chris Hostetter wrote:
and one text_prefix
defined similarly but with an additional EdgeNGramTokenFilter used when
indexing to generate prefix tokens. then search those fields using
dismax...
To be sure that I understand this right:
Am I right that I should not stopword
Sorry. Let me add more info. (I assumed that anyone who tried it would see
the problem right away but that might not be the case.)
You haven't shown the SOLR field type definitions.
Values of all non-String types in my index are not being shown.
In my case, this includes long, tint and date
Thanks a lot for reply.
But I've already figured out that nested queries can help me to implement
what I was looking for.
-Myron
2010/5/28 Chris Hostetter hossman_luc...@fucit.org
: I need to use Lucene's `minimum number should match` option of
BooleanQuery
: on Solr.
unfortunately, the
NP ;-) .
Just to explain:
With tooltips I meant js-tooltips (not the native webbrowser tooltips)
since sliders require JS anyway, presenting additional info in a Js-tooltip
on drag, doesn't limit the nr of people able to view it.
I think this is ok from a usability standpoint since I don't
On 5/28/2010 9:31 PM, Chris Hostetter wrote:
: Perhaps you could show the 'nr of items left' as a tooltip of sorts when the
: user actually drags the slider.
Years ago, when we were first working on building Solr, a coworker of mind
suggested using double bar sliders (ie: pick a range using a
Interesting..
say you have a double slider with a discrete range (like tripadvisor et.al.)
perhaps it would be a good guideline to use these discrete points for the
quantum interval for the sparkline as well?
Of course it then becomes the question which discrete values to use for the
slider. I
May I ask how you implemented getting the facet counts for each interval? Do
you use a facet-query per interval?
And perhaps for inspiration a link to the site you implemented this ..
Thanks,
Geert-Jan
I love the idea of a sparkline at range-sliders. I think if I have time, I
might add them to
On 31.05.2010, at 11:29, Geert-Jan Brits wrote:
May I ask how you implemented getting the facet counts for each interval? Do
you use a facet-query per interval?
And perhaps for inspiration a link to the site you implemented this ..
Thanks,
Geert-Jan
I love the idea of a sparkline at
Solr 1.4
You haven't identified the version of Luke you're
using.
Luke 1.0.1 (2010-04-01)
I think with solr you need to use Release 0.9.9.1 or 0.9.9
Because solr 1.4.0 uses lucene 2.9.1
Hi,
I have created in index with several fields.
If I query my index in the admin section of solr (or via http request), I
get results for my search if I specify the requested field:
Query: note:Aspergillus (look for Aspergillus in field note)
However, if I query the same word against all
On 5/31/2010 11:29 AM, Geert-Jan Brits wrote:
May I ask how you implemented getting the facet counts for each interval? Do
you use a facet-query per interval?
And perhaps for inspiration a link to the site you implemented this ..
Thanks,
Geert-Jan
I love the idea of a sparkline at
Am 31.05.2010 11:50, schrieb olivier sallou:
Hi,
I have created in index with several fields.
If I query my index in the admin section of solr (or via http request), I
get results for my search if I specify the requested field:
Query: note:Aspergillus (look for Aspergillus in field note)
Check your request handler setting, what do you have in the query field (qf)
entry ?
On 5/31/10, olivier sallou olivier.sal...@gmail.com wrote:
Hi,
I have created in index with several fields.
If I query my index in the admin section of solr (or via http request), I
get results for my search
On 5/31/2010 11:50 AM, olivier sallou wrote:
Hi,
I have created in index with several fields.
If I query my index in the admin section of solr (or via http request), I
get results for my search if I specify the requested field:
Query: note:Aspergillus (look for Aspergillus in field note)
i am not very sure, whether this helps me.
i see the point, that there will be problems.
but
the default-config for index is:
filter class=solr.WordDelimiterFilterFactory generateWordParts=1
generateNumberParts=1 catenateWords=1 catenateNumbers=1 catenateAll=0
splitOnCaseChange=1/
and for
Hi,
Is it possible to restrict the values returned by Facet Fields using Filter
Queries to Group on only those documents will pass the filter query passed
in filter criteria??
I am under the assumption that fq is disjoint from facet.field function. Let
me know if my assumptions are right or
thx for your help.
the problem ist that our app already have an suggest version implement. and
now, i want to use a new version of autosuggestion, but the responseformat
isnt the same. so its not backward compatible. the client cannot change the
uses of the response format ... =(
today i will
On 5/31/2010 12:01 PM, Ninad Raut wrote:
Hi,
Is it possible to restrict the values returned by Facet Fields using Filter
Queries to Group on only those documents will pass the filter query passed
in filter criteria??
I am under the assumption that fq is disjoint from facet.field function. Let
Hi Markus,
the default-config for index is:
filter class=solr.WordDelimiterFilterFactory generateWordParts=1 generateNumberParts=1 catenateWords=1
catenateNumbers=1 catenateAll=0 splitOnCaseChange=1/
and for query:
filter class=solr.WordDelimiterFilterFactory generateWordParts=0
Ok,
I use default e.g. standard request handler.
Using *:Aspergillus does not work either.
I can try with DisMax but this means that I know all field names. My schema
knows a number of them, but some other fields are defined via dynamic fields
(I know the type, but I do not know their names).
Is
Am 31.05.2010 12:36, schrieb olivier sallou:
Is there any way to query all fields including dynamic ones?
Yes, using the *:term query. (Please note that the asterisk should not
be quoted.)
To answer your question, we need more details on your Solr
configuration, esp. the part of schema.xml that
I finally got a solution. As I use dynamic fields. I use the copyField to a
global indexed attribute, and specify this attribute as defaultSearchField
in my schema.
The *:term with standard query type fails without this...
This solution requires to double the required indexing data but works in
Sorry Markus, I mixed up the index and query field in analysis.jsp. In
fact, I meant that a search for profiauskunft matches profi-auskunft.
I'm not sure, whether the case you are dealing with (search for
profi-auskunft should match profiauskunft) is appropriately addressed by
the
Hey there,
I am facing a problem related to query analysis and stopwords. Have some
ideas how to sort it out but would like to do it in the cleanest way
possible.
I am using dismax and I query to 3 fields. These fields are defined as
text this way:
fieldType name=text class=solr.TextField
Hi folks,
I had a Solr instance (in Jetty on Linux) taken down by a process monitoring
tool (God) with a SIGKILL recently.
How bad is this? Can it cause index corruption if it's in the middle of
indexing something? Or will it just lose uncommitted changes? What if the
signal arrives in the
Sorry Markus, I mixed up the index and query field in
analysis.jsp. In
fact, I meant that a search for profiauskunft matches profi-auskunft.
I'm not sure, whether the case you are dealing with (search for
profi-auskunft should match profiauskunft) is appropriately
addressed by the
I'm not sure, whether the case you are dealing with (search for
profi-auskunft should match profiauskunft) is appropriately
addressed by
the WordDelimiterFilter. What about using the
PatternReplaceCharFilter
at query time to eliminate all intra-word hyphens?
maybe it would be best to
Maybe what you're looking for is facet.mincount=1 ?
Erik
On May 31, 2010, at 6:01 AM, Ninad Raut wrote:
Hi,
Is it possible to restrict the values returned by Facet Fields using
Filter
Queries to Group on only those documents will pass the filter query
passed
in filter criteria??
It is a file. Only the filename is stored in the database.
Brad
On May 31, 2010, at 2:59 AM, Noble Paul നോബിള് नो
ब्ळ् noble.p...@corp.aol.com wrote:
BinFileDataSource will only work with file, Try FieldStreamDataSource
On Mon, May 31, 2010 at 3:30 AM, Brad Greenlee b...@footle.org
Hi,
I tried a small POC and found that Filter queries do restrict the
documents set used for Group By on Facet Field.
It will help me restrict documents on some other filters when I am
grouping on muti-valued Buzz field.
Thanks Gijs and Erik.
Regards,
Ninad R
On 5/31/10, Erik Hatcher
On 5/31/2010 11:50 AM, gwk wrote:
On 5/31/2010 11:29 AM, Geert-Jan Brits wrote:
May I ask how you implemented getting the facet counts for each
interval? Do
you use a facet-query per interval?
And perhaps for inspiration a link to the site you implemented this ..
Thanks,
Geert-Jan
I love the
On 5/31/2010 4:24 PM, gwk wrote:
On 5/31/2010 11:50 AM, gwk wrote:
On 5/31/2010 11:29 AM, Geert-Jan Brits wrote:
May I ask how you implemented getting the facet counts for each
interval? Do
you use a facet-query per interval?
And perhaps for inspiration a link to the site you implemented this
Hello.
i have a littel porblem to synchronize my index with my database.
we have an extra table for delta-import. we cannot use a modified-field =(
so. in this delta-table where all id saved to update. after a deltaimport
this table should be deleted. this works fine.
but when an item is is
: Is there any way to query all fields including dynamic ones?
:
: Yes, using the *:term query. (Please note that the asterisk should not
: be quoted.)
uh ...no, completely incorrect. you can not use * to denote 'all
fields' in that way.
there is no syntax for find this term in any field
oh sry, i solve it with this entity:
entity name=delete pk=id deletedPkQuery=SELECT update_id as id FROM
solr_imports WHERE is_deleted=true /
;) thx nabble
--
View this message in context:
http://lucene.472066.n3.nabble.com/deleteDocByID-tp858903p858951.html
Sent from the Solr - User mailing
http://lucene.472066.n3.nabble.com/file/n859016/qa.writepublic.com.xml
qa.writepublic.com.xml
I modified your schema.xml
You need to restart jetty and re-index you documents.
After that in the solr admin page, if you search
prefix_full:george clo prefix_token:(george clo)
you will get your
Thanks for the suggestion. I tried 0.9.9.1 but saw the same problem.
I didn't see 0.9.9 on their download page.
On Mon, May 31, 2010 at 2:39 AM, Ahmet Arslan iori...@yahoo.com wrote:
Solr 1.4
You haven't identified the version of Luke you're
using.
Luke 1.0.1 (2010-04-01)
I think with
Thanks for the suggestion. I tried
0.9.9.1 but saw the same problem.
I didn't see 0.9.9 on their download page.
http://www.getopt.org/luke/ has 0.9.9 version. But that may not be the issue.
I suspect that trie based fields causing this. Because they index each value at
various levels of
: 1. Queries like id:123 which work fine in /solr/admin web interface but
: returns nothing in Luke. Query *:* returns all records fine in Luke. I
: expect Luke returns the same result as /solr/admin since it's essentially
: a Lucene query?
you haven't told us what fieldtype you are using for
I have a newbie question on what is the best way to batch add/commit a large
collection of document data via solrj. My first attempt was to write a
multi-threaded application that did following.
CollectionSolrInputDocument docs = new ArrayListSolrInputDocument();
for (Widget w : widges) {
I submitted a patch a few months back for a Solr Document Inspector which
allows one to see the indexed values for any document in a Solr index (
https://issues.apache.org/jira/browse/SOLR-1837). This is more or less a
port of Luke's DocumentReconstructor into Solr, but the tool additionally
has
I was looking at solr-386 and thought I would try to create a custom
highlighter for something I was doing.
I created a class that looks something like this:
public class CustomOutputHighlighter extends DefaultSolrHighlighter {
@Override
public NamedList
Move the commit outside your loop and you'll be in better shape.
Better yet, enable autocommit in solrconfig.xml and don't commit from
your multithreaded client, otherwise you still run the risk of too
many commits happening concurrently.
Erik
On May 31, 2010, at 5:27 PM, Steve
Thanks for the replies guys. I am not at work so I don't have the
exact schema but here's what it roughly looks like:
Request:
==
id
client_id
pm_id
pm2_id
title
Advisor:
==
id
person_id
address_id
bio
sector (IT, doctor, etc)
There's another table.
RequestAdvisor:
(10/06/01 6:45), Gerald wrote:
I was looking at solr-386 and thought I would try to create a custom
highlighter for something I was doing.
I created a class that looks something like this:
public class CustomOutputHighlighter extends DefaultSolrHighlighter {
@Override
The id field has type long in schema.xml. In Luke, they are shown
as hex dump. When viewing a doc (returned by *:*), I pick the ID field
and press the Show button, Luke pops up a dialog that allows me
to change the Show Content As value. When I choose Number,
I get an error message:
Some values
46 matches
Mail list logo