the index size.
> For the general case, though, regular expressions may indeed require a full
> index scan. Seems like all I can do in that case is to warn the user in
> advance that this may take a (long) while.
>
> Any further ideas on how to reduce the performance hit and survive the
-
From: Erick Erickson [mailto:erickerick...@gmail.com]
Sent: Sunday, May 22, 2016 7:43 PM
To: solr-user
Subject: Re: How to use a regex search within a phrase query?
Erez:
Before going too far down this path, understand that even if you can get this
syntax to work, you're going to pay a _ve
y across term boundaries. The pure
> regex is good as long I'm querying for a single term.
>
>
> -Original Message-
> From: Ahmet Arslan [mailto:iori...@yahoo.com]
> Sent: Sunday, May 22, 2016 4:49 PM
> To: solr-user@lucene.apache.org; Erez Michalak
> Subje
ingle term.
-Original Message-
From: Ahmet Arslan [mailto:iori...@yahoo.com]
Sent: Sunday, May 22, 2016 4:49 PM
To: solr-user@lucene.apache.org; Erez Michalak
Subject: Re: How to use a regex search within a phrase query?
Hi Erez,
I don't think it is possible to combine regex with ph
Hi Erez,
I don't think it is possible to combine regex with phrase out-of-the-box.
However, there is https://issues.apache.org/jira/browse/LUCENE-5205 for the
task.
Can't you define your query in terms of pure regex?
something like /[0-9]{3} .* [0-9]{4}/
ahmet
On Sunday, May 22, 2016 1:37 PM,
Hey,
I'm developing a search application based on SOLR 5.3.1, and would like to add
to it regex search capabilities on a specific tokenized text field named
'content'.
Is it possible to combine the default regex syntax within a phrase query (and
moreover, within a proximity search)? If so, pleas
Ok David. I give it a shot.
Thanks again!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-spatial-search-within-the-polygon-tp4101147p4122647.html
Sent from the Solr - User mailing list archive at Nabble.com.
ucene.472066.n3.nabble.com/Solr-spatial-search-within-the-polygon-tp4101147p4122645.html
Sent from the Solr - User mailing list archive at Nabble.com.
Could you please send me where I can find this .java?
What do you refer by "Lucene-spatial module"?
Thanks for your time David!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-spatial-search-within-the-polygon-tp4101147p4122642.html
Sent from the Solr - Us
he
> exact type for this field. I think Lucene index fields as String by
> default, right?
>
> Thanks in advance!
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-spatial-search-within-the-polygon-tp4101147p4122641.html
Sent from the Solr - User mailing list archive at Nabble.com.
index the field in Lucene? I need to know the
exact type for this field. I think Lucene index fields as String by default,
right?
Thanks in advance!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-spatial-search-within-the-polygon-tp4101147p4122640.html
Sent from the Solr - User mailing list archive at Nabble.com.
On 3/10/14, 12:56 PM, "javinsnc" wrote:
>>>
>>>/*/
>>>/* Document contents */
>>>/*/
>>>I have tried with 3 different content for my documents (lat-lon refers
>>>to
>>>Madrid, Spain):
>>
>> Um…. Just to be absolutely sure, are you adding the data in Solr’
3.732605 40.531415,
>>-3.856201 40.336993,
>>-3.493652 40.332806,
>>-3.732605 40.531415
>>))) distErrPct=0"
>>
>>b)
>>_Descripcion: This POLYGON (in WKT format, so "longitude latitude") is a
>>rectangle out of Madrid, so my point would not be inside them.
>>_Result: Query return 0 documents (which is correct).
>>
>>http://localhost:8983/solr/pisos22/select?q=*%3A*&;
>>fl=LOCATION&
>>wt=xml&
>>indent=true&
>>fq=LOCATION:"IsWithin(POLYGON((
>>-4.0594 40.8708,
>>-4.0621 40.7211 ,
>>-3.8095 40.7127,
>>-3.8232 40.8687,
>>-4.0594 40.8708
>>))) distErrPct=0"
>>
>>***I also tried modifying the order of lat/lon but I am not able to find
>>out
>>the solution to make it work.
>
> The “x y” order looks good. “IsWithin” should work but if all your
> indexed data is points then use “Intersects” which is much faster.
>
> As a sanity check can you simply do a {!geofilt} query with the “pt” set
> to madrid and a hundred kilometers or whatever?
>
> I have tried {!geofilt pt=40.442179,-3.69278 sfield=LOCATION d=100} in FQ
> and returned 0 docs :(((
>
> ~ David
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-spatial-search-within-the-polygon-tp4101147p4122623.html
Sent from the Solr - User mailing list archive at Nabble.com.
On 3/10/14, 12:12 PM, "Smiley, David W." wrote:
>>
>>
>>
>>c) I tried no WKT format by adding a comma and using "longitude,latitude"
>>
>>
>>
>> 40.442179,-3.69278
>>
>>
>
>That is *wrong*. Remove the comma and it will then be okay. But again,
>see my earlier advise on lat & lon
On 3/10/14, 6:45 AM, "Javi" wrote:
>Hi all.
>
>I need your help! I have read every post about Spatial in Solr because I
>need to check if a point (latitude,longitude) is inside a Polygon.
>
>/**/
>/* 1. library */
>/**/
>
>(1) I use "jts-1.13.jar" and "spatial4j-0.4.1.ja
Hi all.
I need your help! I have read every post about Spatial in Solr because I
need to check if a point (latitude,longitude) is inside a Polygon.
/**/
/* 1. library */
/**/
(1) I use "jts-1.13.jar" and "spatial4j-0.4.1.jar"
(I think they are the latest version)
/*
Dhanesh,
> I'm pretty sure that the coordinates are in the right position.
> "9.445890,76.540970" is in India, precisely in Kerala state :)
My suspicion was wright; you have all of your latitudes and longitudes in
the wrong position. Your example that I quote you on above is correct
("lat,lon"
Hi David,
Thank you for your reply
This is my current schema and field type "location_rpt" is a
SpatialRecursivePrefixTreeFieldType and
Field "location" is a type "location_rpt" and its multiValued
Whenever add a document to solr, I'll
On 11/19/13 4:06 AM, "Dhanesh Radhakrishnan" wrote:
>Hi David,
>Thank you so much for the detailed reply. I've checked each and every lat
>lng coordinates and its a purely polygon.
>After some time I did one change in the lat lng indexing.
>Changed the indexing format.
>
>Initially I indexed t
Hi David,
Thank you so much for the detailed reply. I've checked each and every lat
lng coordinates and its a purely polygon.
After some time I did one change in the lat lng indexing.
Changed the indexing format.
Initially I indexed the latitude and longitude separated by comma Eg:-
"location":[
Hi.
It's clear there is an ordering problem in your latitudes and longitudes.
If indeed you intend to index latitude 9.44Š and longitude 76.45Š as you
said, then you are indexing it correctly. You may also choose to index in
WKT format, which would be POINT(76.45 9.44) but either is fine. Howev
Hi,
I'm experimenting with solr spatial search, with plotting points in the map
(Latitude and longitude) and based on the value I need to get the result.
As the first step I've defined the filed type as
And then added the field *location* as type *location_rpt*
Indexed the location filed as $
d it's required that when we search for ring earring
>> should also come. But it's not happening.
>>
>> What else needs to be done in order to achieve this.
>>
>> Any further help will be appreciated.
>>
>> Thanks
>>
>>
>>
>> --
>> View this message in context:
>> http://lucene.472066.n3.nabble.com/Search-within-words-tp3675210p3681044.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
; earrring and ring and it's required that when we search for ring earring
> should also come. But it's not happening.
>
> What else needs to be done in order to achieve this.
>
> Any further help will be appreciated.
>
> Thanks
>
>
>
> --
> View this me
sage in context:
http://lucene.472066.n3.nabble.com/Search-within-words-tp3675210p3681044.html
Sent from the Solr - User mailing list archive at Nabble.com.
/solr-performance-monitoring/index.html
- Original Message -
> From: jawedshamshedi
> To: solr-user@lucene.apache.org
> Cc:
> Sent: Friday, January 20, 2012 6:57 AM
> Subject: Search within words
>
> Hi all,
>
> I want to search a string in the same way as mysql
case sensitive.
Will need a descriptive answer to do this as I am new to solr
Thanks
--
View this message in context:
http://lucene.472066.n3.nabble.com/Search-within-words-tp3675210p3675210.html
Sent from the Solr - User mailing list archive at Nabble.com.
wrote:
> Hello all,
>
> I think it's possible with Solr to search within a specific domain (like
> with google). How is done?
>
> Ref:
> http://support.google.com/websearch/bin/answer.py?hl=en&answer=136861&rd=1
> *Search within a specific website (site:)*
>
Hello all,
I think it's possible with Solr to search within a specific domain (like
with google). How is done?
Ref:
http://support.google.com/websearch/bin/answer.py?hl=en&answer=136861&rd=1
*Search within a specific website (site:)*
Google allows you to specify that your search
And so I think. Actually I hope that I can do something like that:
1) tell the Solr to prepare for searching
2) start my very fast filtering routine
3) send asynchronoussly IDs of filtered documents to the Solr and
expect that Solr is ranging them in the parallel
4) get the result quickly
On 11 O
On Mon, Oct 11, 2010 at 8:20 PM, Sergey Bartunov wrote:
> Whether it will be enough effective if the subset is really large?
[...]
If the subset of IDs is large, and disjoint (so that you cannot use ranges),
the query might look ugly, but generating it should not be much of a
problem if you are u
Whether it will be enough effective if the subset is really large?
On 11 October 2010 18:39, Gora Mohanty wrote:
> On Mon, Oct 11, 2010 at 7:00 PM, Sergey Bartunov wrote:
>> Is it possible to use Solr for searching within a subset of documents
>> represented by enumeration of document IDs?
>
> C
On Mon, Oct 11, 2010 at 7:00 PM, Sergey Bartunov wrote:
> Is it possible to use Solr for searching within a subset of documents
> represented by enumeration of document IDs?
Couldn't you add the document ID to the query, e.g., if the field is
called id, you can use ?q=id:, e.g., ?q=id:1234? You c
Is it possible to use Solr for searching within a subset of documents
represented by enumeration of document IDs?
On Mar 30, 2010, at 12:36 PM, Ahmet Arslan wrote:
Is it possible search for a combination of words within the
same
sentence or paragraph?
Mark Miller's Qsol Parser can do that [1]. However it seems that
temporarily it is not publicly available [2] [3].
[1]http://www.lucidimagination.co
> Is it possible search for a combination of words within the
> same
> sentence or paragraph?
Mark Miller's Qsol Parser can do that [1]. However it seems that temporarily it
is not publicly available [2] [3].
[1]http://www.lucidimagination.com/blog/2009/02/22/exploring-query-parsers/
[2]http:/
Hi all,
Is it possible search for a combination of words within the same
sentence or paragraph?
Ex: American and McDonalds
Returns : "McDonalds is a American company"
Don't returns: "...went to McDonalds. After that se saw the American
flag..."
Is this possible?
Frederico Aze
> For example, if I have the following field:
>
> stored="true"/>
>
> and it has docs that contain something like
>
> english bulldog
> french bulldog
> bichon frise
>
> If I search for "english bulldog" and facet on "dog", I
> will get the
> following:
>
> 135
> 23
> 12
Thats strange. The q
Hello,
Is it possible to do a text search within facets? Something that will
return me what words solr used to gather my results and how many of those
results were found.
For example, if I have the following field:
and it has docs that contain something like
english bulldog
french bulldog
This post describes the search-within-search implementation.
http://sujitpal.blogspot.com/2007/04/lucene-search-within-search-with.html
Shashi
On Sat, Apr 4, 2009 at 1:21 PM, Vernon Chapman wrote:
> Bess,
>
> I think that might work I'll try it out and see how it wor
Bess,
I think that might work I'll try it out and see how it works for my case.
thanks
Bess Sadler wrote:
Hi, Vernon.
In Blacklight, the way we've been doing this is just to stack queries
on top of each other. It's a conceptual shift from the way one might
think about "
Hi, Vernon.
In Blacklight, the way we've been doing this is just to stack queries
on top of each other. It's a conceptual shift from the way one might
think about "search within", but it accomplishes the same thing. For
example:
search1 ==> q=horse
search2 =
I am not sure if this is a really easy or newbee-ish type question.
I would like to implement a search within these results type feature.
Has anyone done this and could you please share some tips, pointers and
or documentation on how to implement this.
Thanks
Vern
43 matches
Mail list logo