Jay Hill | 1 Sep 01:17 2009
Picon

Re: Field names with whitespaces

This seems to work:

?q=field\ name:something

Probably not a good idea to have field names with whitespace though.

-Jay

2009/8/28 Marcin Kuptel <marcinkuptel <at> gmail.com>

> Hi,
>
> Is there a way to query solr about fields which names contain whitespaces?
> Indexing such data does not cause any problems but I have been unable to
> retrieve it.
>
> Regards,
> Marcin Kuptel
>
Avlesh Singh | 1 Sep 03:15 2009
Picon

Re: How to set similarity to catch more results ?

>
> I want it more flexible, as if I make a mistake with letters, results are
> found like with google.
>
You are talking about spelling mistakes?
http://wiki.apache.org/solr/SpellCheckComponent

Cheers
Avlesh

On Mon, Aug 31, 2009 at 3:30 PM, Kaoul <kaoul.kae <at> gmail.com> wrote:

> Hello,
>
> I'm new to Solr and don't find in documentation how-to to set
> similarity. I want it more flexible, as if I make a mistake with
> letters, results are found like with google.
>
> Thank you in advance.
>
Avlesh Singh | 1 Sep 03:32 2009
Picon

Re: Date Faceting and Double Counting

I don't think this behavior needs to be fixed. It is justified for the data
you have indexed.
"date minus 1 second" should definitely work for you.

Cheers
Avlesh

On Mon, Aug 31, 2009 at 11:37 PM, Stephen Duncan Jr <
stephen.duncan <at> gmail.com> wrote:

> If we do date faceting and start at 2009-01-01T00:00:00Z, end at
> 2009-01-03T00:00:00Z, with a gap of +1DAY, then documents that occur at
> exactly 2009-01-02T00:00:00Z will be included in both the returned counts
> (2009-01-01T00:00:00Z and 2009-01-02T00:00:00Z).  At the moment, this is
> quite bad for us, as we only index the day-level, so all of our documents
> are exactly on the line between each facet-range.
>
> Because we know our data is indexed as being exactly at midnight each day,
> I
> think we can simply always start from 1 second prior and get the results we
> want (start=2008-12-31T23:59:59Z, end=2009-01-02T23:59:59Z), but I think
> this problem would affect everyone, even if usually more subtly (instead of
> all documents being counted twice, only a few on the fencepost between
> ranges).
>
> Is this a known behavior people are happy with, or should I file an issue
> asking for ranges in date-facets to be constructed to subtract one second
> from the end of each range (so that the effective range queries for my case
> would be: [2009-01-01T00:00:00Z TO 2009-01-01T23:59:59Z] &
> [2009-01-02T00:00:00Z TO 2009-01-02T23:59:59Z])?
(Continue reading)

Avlesh Singh | 1 Sep 03:38 2009
Picon

Re: Hierarchical schema design

As Uri has already replied, there is no concept of "a hierarchical schema"
in Solr.
My gut feeling says you might be talking about Multiple
cores<http://www.google.co.in/search?q=multiple+core+solr&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a>
.

Cheers
Avlesh

On Mon, Aug 31, 2009 at 5:26 PM, Pooja Verlani <pooja.verlani <at> gmail.com>wrote:

> Hi all,
> Is there a possibility to have a hierarchical schema in solr, meaning can
> we
> have objects under objects.
> For example, for a doc like:
> <doc>
>  <a1>
>     <b1>
>     <b2>
>     <b3>
> </a1>
> <a2>
>      <b1>
>      <b2>
>      ,b3>
> </a2>
> .
> .
> .
(Continue reading)

Avlesh Singh | 1 Sep 04:02 2009
Picon

Re: Is caching worth it when my whole index is in RAM?

Good question!
The application level cache, say filter cache, would still help because it
not only caches values but also the underlying computation. Even with all
the data in your RAM you will still end up doing the computations every
time.

Looking for responses from the more knowledgeable.

Cheers
Avlesh

On Mon, Aug 31, 2009 at 8:25 PM, Michael <solrcoder <at> gmail.com> wrote:

> Hi,
> If I've got my entire 20G 4MM document index in RAM (on a ramdisk), do I
> have a need for the document cache?  Or should I set it to 0 items, because
> pulling field values from an index in RAM is so fast that the document
> cache
> would be a duplication of effort?
>
> Are there any other caches that I should turn off if I can get my entire
> index in RAM?  Filter cache, query results cache, etc?
>
> Thanks!
> Michael
>
Avlesh Singh | 1 Sep 04:10 2009
Picon

Re: filtering facets

>
> when I will have more motivation, I will submit a patch to solr :-)
>
You want to add more here?- https://issues.apache.org/jira/browse/SOLR-1387

Cheers
Avlesh

On Tue, Sep 1, 2009 at 2:51 AM, Olivier H. Beauchesne <olivier <at> olihb.com>wrote:

> yeah, but then I would have to retrieve *a lot* of facets. I think for now
> i'll retrieve all the subdomains with facet.prefix and then merge those
> queries. Not ideal, but when I will have more motivation, I will submit a
> patch to solr :-)
>
> Michael a ├ęcrit :
>
>  You could post-process the response and remove urls that don't match your
>> domain pattern.
>>
>> On Mon, Aug 31, 2009 at 9:45 AM, Olivier H. Beauchesne <olivier <at> olihb.com
>> >wrote:
>>
>>
>>
>>> Hi Mike,
>>>
>>> No, my problem is that the field article_outlinks is multivalued thus it
>>> contains several urls not related to my search. I would like to facet
>>> only
(Continue reading)

Rahul R | 1 Sep 08:03 2009
Picon

Monitoring split time for fq queries when filter cache is used

Hello,
I am trying to measure the benefit that I am getting out of using the filter
cache. As I understand, there are two major parts to an fq query. Please
correct me if I am wrong :
- doing full index queries of each of the fq params (if filter cache is
used, this result will be retrieved from the cache)
- set intersection of above results (Will be done again even with filter
cache enabled)

Is there any flag/setting that I can enable to monitor how much time the
above operations take separately i.e. the querying and the set-intersection
?

Regards
Rahul
clico | 1 Sep 08:35 2009
Picon

Drill down into hierarchical facet : how to?


Hello

I'm looking for a way to do that

I have a hierachical facet

ex : Continent / Country / City / Blok

Europe/France/Paris/Saint Michel
America/USA/NYC/Chelsea
etc ...

I have some points of interest tagged in differents level of a same tree
ex : some POI can be tagged Saint Michel and other tagged Paris etc ...

I facet on a fiel "location". This i a fiel stored like this
Continent/Country/City/Blok

I want to drill down on this facet during the search and show the facets for
the next level of a level

Ex :

When I search at the level continent I want to facet the level Europe, USA
etc ...
and to show all the results (Europe contains POI tagged as Europe and POI
tagged as France for example)

I know I can make a facet query
(Continue reading)

gwk | 1 Sep 10:50 2009
Picon

Re: Date Faceting and Double Counting

Hi Stephen,

When I added numerical faceting to my checkout of solr (solr-1240) I 
basically copied date faceting and modified it to work with numbers 
instead of dates. With numbers I got a lot of doulbe-counted values as 
well. So to fix my problem I added an extra parameter to number faceting 
where you can specify if either end of each range should be inclusive or 
exclusive. I just ported it back to date faceting (disclaimer, 
completely untested) and it should be attached to my post.

The following parameter is added: facet.date.exclusive
valid values for the parameter are: start, end, both and neither

To maintain compatibility with solr without the patch the default is 
neither. I hope the meaning of the values are self-explanatory.

Regards,

gwk

Stephen Duncan Jr wrote:
> If we do date faceting and start at 2009-01-01T00:00:00Z, end at
> 2009-01-03T00:00:00Z, with a gap of +1DAY, then documents that occur at
> exactly 2009-01-02T00:00:00Z will be included in both the returned counts
> (2009-01-01T00:00:00Z and 2009-01-02T00:00:00Z).  At the moment, this is
> quite bad for us, as we only index the day-level, so all of our documents
> are exactly on the line between each facet-range.
>
> Because we know our data is indexed as being exactly at midnight each day, I
> think we can simply always start from 1 second prior and get the results we
(Continue reading)

Kaoul | 1 Sep 11:19 2009
Picon

Re: How to set similarity to catch more results ?

Thank you three for answers. After more research, I think I need to
use fuzzy search as I already know Levenshtein Distance and I don't
want to manage a list of synonyms manually. So "manually" spell check
isn't for me.
Thanks a lot.

On Tue, Sep 1, 2009 at 1:15 AM, Avlesh Singh<avlesh <at> gmail.com> wrote:
>>
>> I want it more flexible, as if I make a mistake with letters, results are
>> found like with google.
>>
> You are talking about spelling mistakes?
> http://wiki.apache.org/solr/SpellCheckComponent
>
> Cheers
> Avlesh
>
> On Mon, Aug 31, 2009 at 3:30 PM, Kaoul <kaoul.kae <at> gmail.com> wrote:
>
>> Hello,
>>
>> I'm new to Solr and don't find in documentation how-to to set
>> similarity. I want it more flexible, as if I make a mistake with
>> letters, results are found like with google.
>>
>> Thank you in advance.
>>
>

(Continue reading)


Gmane