But i think the query like host:example* will not work in this case
Actually it was typo in my question. I want to search for above type of
query only.
Ankit
Daniel Noll-3 wrote:
>
> On Monday 10 September 2007 23:53:06 AnkitSinghal wrote:
>> And if i make the field as UNTOKENIZED i cannot se
- Searcher itself doesn't cost much. The cost came from the construction of
TermsInfoReader from IndexReader
- This means you can construct a number of searchers based on different
combination of indices.
- If I were you, I would construct a number of indices based on the demand
of freshness.
Alice,
You need to do the following:
- When you create a document, you need to add category id field using
something like
doc.add(new Field(”categoryId”, categoryId, Field.Store.YES,
Field.Index.UN_TOKENIZED));
Alice-21 wrote:
>
> Hi folks!
>
>
>
> I'm using Lucene to provide search on m
It's probably easier to add category, department, year as a part of query and
then requery to get the hits you need.
M.K wrote:
>
> Hi All,
>
> I have a search form which has an input area for key search and also
> three
> optional select boxs *Catagory, Department and Year. *
> My question
On Monday 10 September 2007 23:53:06 AnkitSinghal wrote:
> And if i make the field as UNTOKENIZED i cannot search for queries like
> host:xyz.* .
I'm not sure why that wouldn't work. If the stored token is xyz.example.com,
then xyz.* will certainly match it.
Daniel
---
Hi All,
I have a search form which has an input area for key search and also three
optional select boxs *Catagory, Department and Year. *
My question is how can I filter the results if users select a category or
a department or a year or a combination of them.
*index *:
IndexWriter indexWrit
Hi folks!
I'm using Lucene to provide search on my application.
The final query is a BooleanQuery with many fields, there are fields where
I'll look for the entered keyword and some others to restrict the search, as
the id of a category.
I read, and seems to be true, that when using Ter
On 10-Sep-07, at 5:59 AM, Laxmilal Menaria wrote:
Hello Everyone,
I have created a Index Application using Java lucene 2.0 in java and
Lucene.Net 2.0 in VB.net. Both application have same logic. But
when I have
indexed a database with 14000 rows from both application and same
machine, I
sur
On Monday 10 September 2007 14:59, Laxmilal Menaria wrote:
> I have created a Index Application using Java lucene 2.0 in java and
> Lucene.Net 2.0 in VB.net. Both application have same logic. But when I
> have indexed a database with 14000 rows from both application and same
> machine, I surprised
1. You can close the searcher once you're done. If you want to reopen the
index, you can close and reopen only the updated 3 readers and keep the 2
old indexreaders and reuse it. It should reduce the time to reopen it.
2. Make sure that you optimize it every once in a while
3. You might consider s
Hi
I have query about storing hostname and IP information in lucene,
For eg: In my Application I have some field with name host.
In my App sometimes i get value as host name and sometimes as ipaddress.
like sometimes i get ankit.xyz.com and sometimes i get 10.10.01.01
In my code i have made the
Laxmilal Menaria a écrit :
> Hello Everyone,
>
> I want to search 'abc-d' as exact keyword not 'abc d'. KeywordAnalyzer can
> be used for this purpose. StandradAnalyzer create different tokens for
> 'abc-d' as 'abc' and 'd'.
> But I can not use this, becuase I am indexing the content of a text fil
Hello Everyone,
I have created a Index Application using Java lucene 2.0 in java and
Lucene.Net 2.0 in VB.net. Both application have same logic. But when I have
indexed a database with 14000 rows from both application and same machine, I
surprised that Java lucene took (198 Seconds) more than doub
Hello Everyone,
I want to search 'abc-d' as exact keyword not 'abc d'. KeywordAnalyzer can
be used for this purpose. StandradAnalyzer create different tokens for
'abc-d' as 'abc' and 'd'.
But I can not use this, becuase I am indexing the content of a text file. It
will search whole content as a s
On Sep 10, 2007, at 4:12 AM, makkhar wrote:
This question has been asked numerous times here. But the answer
has never
been satisfactory. Can someone answer it full and final, please ?
If you get back a document as a search hit. How do you find out
which field
in it matched ? Just the posi
The default slop is one and it really should be 0. Sorry about the slip
up Jeff and thanks for catching it. I'll make an adjustment, and a
method to allow changing the default anyway, and then point you to an
updated jar.
- Mark
Jeff French wrote:
I have a document that contains the phrase "
Hi,
I have this exception there are more terms than documents in field
"Title", but it's impossible to sort on tokenized fields.
I'm try to sort the result by Title and the field title is un_tokenized
and it has only one term such as document, 06, rational, etc, and some other
fields have
>> the answer has never been satisfactory
Is this the original question?
http://www.nabble.com/Which-field-matched---tf4141549.html#a11780757
What actually formed the basis of a document match is hidden in a tree of
heterogeneous Query objects and to be efficient their match output is
limite
This question has been asked numerous times here. But the answer has never
been satisfactory. Can someone answer it full and final, please ?
If you get back a document as a search hit. How do you find out which field
in it matched ? Just the position of the field is sufficient !
-thanks
--
Vie
19 matches
Mail list logo