Hello
Query I
Does the order of query play role in searching
example:doc has fields
rollno(pk), name, marks
Query : marks=90&rollno=2&name=abc
Query :rollno=2&name=abc&marks=90
which query processing will be more efficient.
is it work like search doc field by field , it will look for doc havi
Query I
its written "to do a "search within search", so that the second search is
constrained by the results of the first query"
we can use boolean query.
So doesn't it mean the order of query ll be preserved
give me an simple example of how the docs get searched in lucene.
10 docs with 3 fields
Hello Erick,
I was trying to optimise the searching.
Basically my data is like field1 has less no of docs matching compared to
field2, which has larget sets.
So if search goes by order to order, then i can make field1 to be search
first, (by making order of boolean query such )and from thr the
Hello Joseph,
Yes this would work .Range queries could be used for range searches.
But this is very expensive in terms of performance.
Regards,
Suman
On Fri, 16 Apr 2010 06:23:30 -0700, wrote:
> Hello,
>
> I would like to query based on a start and end date. I was thinking
> something like
Hello ,
Can we use subset of documents , for searching .
Lets say I
have hash map of
P1 -1,2,3,4
P2 - 3,4,5
P3-7,5,3
Now I have an
documents in lucene index stored as
1-P1
2-P1
3-P1,P2,P3
4-P1,P2
5-P2,P3
7-P3
..
..
when i search docs with P2 I get 3,4,5
Now I
want
Hi ,
I have 4 query search fields.
case 1 : if i use one search
field to make a query filter and then use the query filter to search on
other 3 fields so as to reduce the searching docs subset.
case 2: i use
all query parameters using boolean query , whole of index will be searched.
Which
hi ,
1. whether any search query, will scan for all documents in the
lucene indexes
2.
I want to search query faster.So I thought of if I
could reduce the number of docs , lucene needs to search for , when given
some search parameters. It would act lil faster.
Can we make subset
(subindexe
you can use query filter for that purpose .
Suman
On Tue, 14 Sep 2010 17:14:19 +0530, Pankaj Malhotra
wrote:
> Also, if someone could tell how to search across all the fields together
> and
> also know which field the search result belong to. Other than using the
> "All" field kind of approac
I am also having a similar requirement .But its other way round.
Basically ,I have indexes in FSDirectory and which is transferred to
another machine on regular basis. But now for the reason of faster
searches, it would be better to copy the indexes onto RAM. (RAMDirectory).
Not sure of how it c
Hello,
I am little confused on the stored and index part of lucene
How it actually stores the indexed field and stored field
Is it that for every field indexed , all the store fields added .I mean do
we create diff indexes for every indexed field ,replicating the stored field
in each of th
some of the stored
fields use a FieldSelector.
http://wiki.apache.org/lucene-java/ImproveSearchingSpeed has good info
on making searching fast.
--
Ian.
On Thu, Feb 17, 2011 at 10:39 AM, suman.holani
wrote:
> Hello,
>
>
>
> I am little confused on the stored and index part of luc
Hello,
I am facing an issue for multivalued fields in lucene
I am generating lucene doc , where page is multivalued .
So my doc will be like this having more than n fields( which can be more
than 1500 also ..) per doc in case page attribute
Example
please.
Best
Erick
On Mon, Mar 7, 2011 at 6:41 AM, suman.holani
wrote:
> Hello,
>
>
>
> I am facing an issue for multivalued fields in lucene
>
>
>
> I am generating lucene doc , where page is multivalued .
>
> So my doc will be like this having more than n fiel
Hi,
I am facing the problem
The line in the loop is going very slow giving me a performance hit
for (int i = 0; i < hits.length; ++i) {
int docId = hits[i].doc;
Document d = searcher.doc(docId); //problem
}
How can I improve
dCache it'd be a nice thing to do.
Hope that helps.
--
Anshum Gupta
http://ai-cafe.blogspot.com
On Thu, Mar 10, 2011 at 3:01 PM, suman.holani
wrote:
>
>
> Hi,
>
>
>
> I am facing the problem
>
>
>
> The line in the loop is going very slow givi
ata. I know that's a vague answer but that's the point.
> What you could do is use FieldCache if memory and data let you do so.
Would
> it?
>
> --
> Anshum Gupta
> http://ai-cafe.blogspot.com
>
>
> On Thu, Mar 10, 2011 at 3:12 PM, suman.holani
wrote:
>
&g
iginal Message-
From: suman.holani [mailto:suman.hol...@zapak.co.in]
Sent: Friday, March 11, 2011 11:35 AM
To: 'java-user@lucene.apache.org'
Subject: RE: document object
Hello Erick,
Hits .length is 1800
Version is lucene 3.0.3
I need the entire result set . As I ll be fetching recor
Hello,
If Lucid gaze compatible to lucene 3.0.3 exist?
Anyone has used lucid gaze for measuring /analyzing searching performance .
How is it?
Regards,
Suman
Hi ,
I am using lucene 3.0.3.
It seems like either the lucene indexes are not getting optimized properly
as the files created in lucene index dir is growing with every doc added
Please let me know the way to restrict the files and segments created .
merge factor is10
max merge docs is21
ng
around with RAMDirectory?
Anyway, you appear to just add docs to the file based index, so surely
it will keep growing? You could try optimizing the file based index
but that is unlikely to gain you a huge amount unless it holds deleted
docs.
--
Ian.
On Wed, Sep 28, 2011 at 11:32 AM, suman.hola
Hi janwen,
Try reopening the index reader and make new instance of searcher .
Regards,
Suman
-Original Message-
From: janwen [mailto:tom.grade1...@163.com]
Sent: Monday, October 10, 2011 7:34 AM
To: java-user
Subject: merge index
HI:
after i add new index directory to exsited dire
21 matches
Mail list logo